django-jsoneditor icon indicating copy to clipboard operation
django-jsoneditor copied to clipboard

New Feature - Add ability to paste entire JSON

Open madEng84 opened this issue 7 years ago • 1 comments

Hi, It would be useful to offer, at least during the initial insertion phase, the possibility to insert a big JSON. This ability integrated in the widget would be fabolousI trivially tried to modify the widget with a forms.Textarea widget overriding the form's init method (if no instance passed to it change the widget ) but i had this exception after i save the data:

schermata 2018-01-18 alle 10 57 04

Unfortunately I do not have enough time to work on it, so this time I will use a fixture

Thanks

madEng84 avatar Jan 18 '18 10:01 madEng84

Please explain what do you think is required more precisely. Is there some analog for other widget types? Did you try to use FormField or ModelField for this purpose instead?

nnseva avatar Feb 19 '20 13:02 nnseva