Hi Saurabh,
I don't have any idea of what that is happening. You may want to look into
https://github.com/jdorn/json-editor and eventually ask there, that's the
tool we are using to edit the configuration.
Federico
On Fri, Feb 23, 2018 at 11:39 AM Saurabh Chakrabarti <
saurabhchakraba...@gmail.com> wrote:
> Hi Team,
>
> I have a requirement of uploading a file in the template, which will
> eventually be downloaded on the device.
>
> For that I've added the following in the django-netjsonconfig schema
>
> "Upload": {
>> "type": "object",
>> "title": "Upload",
>> "propertyOrder": 21,
>> "minItems": 1,
>> "maxItems": 1,
>> "properties": {
>> "files": {
>> "type": "string",
>> "format": "file",
>> "title": "Upload File"
>> },
>> },
>> },
>>
>
> When I try to create a new template, I'm able to view the file upload
> button correctly. But once I save this config and try to view the template
> once again the 'Configuration Menu' breaks. Is there any way to find out
> why that happens?
>
> I've attached the 2 screenshots for reference.
>
> Regards,
> Saurabh
>
> --
> You received this message because you are subscribed to the Google Groups
> "OpenWISP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to openwisp+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to openwisp+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.