django-flat-json-widget icon indicating copy to clipboard operation
django-flat-json-widget copied to clipboard

Handling simple strings

Open mlaass opened this issue 4 years ago • 0 comments

Hi, Have a use case where I want to be able to edit either a string or a JSON object, both are valid Django JSONField options. If I have a simple string the widget chops it apart, I think this is because of how _.template works, probably to solve this, the case needs to be detected and a different template needs to be used.

mlaass avatar Dec 27 '20 13:12 mlaass