jdorn / json-editor

JSON Schema Based Editor
MIT License
5.81k stars 1.08k forks source link

Selectize Options - Create option is always set TRUE #538

Open elijah3wo opened 9 years ago

elijah3wo commented 9 years ago

Hello,

I'm using Selectize with jdorn/json-editor and, doens't matter how I set the "create" option to "FALSE", it always is initialized as true.

I've tried adding to global or to the schema, the result is always FALSE. Other Selectize options work without any problems.

Debugging the code, I've found that in line 5265 from jsoneditor.js, the create option is being overwritten to true, hardcoded at the jdorn/json-editor code: https://github.com/jdorn/json-editor/blob/master/dist/jsoneditor.js#L5257-L5269

Any particular reason for that or is that a bug? How do I set it to false?

Thanks,

de elijah

danielbraun commented 8 years ago

Any news on this?