json-editor icon indicating copy to clipboard operation
json-editor copied to clipboard

Read-only arrays are able to add items

Open mohsen1 opened this issue 10 years ago • 2 comments

From https://github.com/swagger-api/swagger-editor/issues/529#issuecomment-119142733

If readOnly property is present for an array, it should not be possible to add items to that array.

mohsen1 avatar Jul 07 '15 18:07 mohsen1

I have tried to use the readOnly option and it seems not working.

Can you please advice if your issue is now resolved?

tchab2 avatar May 02 '18 17:05 tchab2

https://github.com/jdorn/json-editor#deprecation-notice

https://github.com/json-editor/json-editor/issues/44

schmunk42 avatar May 03 '18 05:05 schmunk42