jdorn / json-editor

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

I have a field in the schema, but in startVal it doesnot have #848

Open vsudigali opened 1 year ago

vsudigali commented 1 year ago

Hi, I have a schema with some field which doesnot exist in the startVal. That field is not getting rendering.

Can you please help me with it ?

Thanks, Vijay

shockthetoast commented 1 year ago

Hey @vsudigali , this repro has been deprecated, and everything has moved to: https://github.com/json-editor/json-editor

vsudigali commented 1 year ago

Hi,

I am using the same repo.

Here is my schema

{ "title": "IDP Configuration schema", "description": "idp configuration description", "type": "object", "properties": { "ajp_enabled": { "title": "AJP enabled", "description": "AJP enabled", "default": false, "type": "boolean" }, "management_console_enabled": { "title": "Management Console Enabled", "description": "Management Console enabled", "default": false, "type": "boolean" }, "insecure_port": { "title": "Insecure Port", "description": "Insecure Port enabled", "default": false, "type": "boolean" }, "max_post_size": { "title": "Max Post Size", "description": "Max post size", "default": 52428800, "type": "integer" }

} }

here is my startVal

{ "version":1, "ajp_enabled":false, "management_console_enabled":true, "minheap":512, "maxheap":1512, "java_opts":"-Djava.net.preferIPv4Stack=true", "insecure_port":false

}

I want to display the max post size field so that customer can enter the value.

Thanks, Vijay

vsudigali commented 1 year ago

Hi,

Any update on this ?

Thanks, Vijay

shockthetoast commented 1 year ago

@vsudigali I'm not a maintainer or contributor to the project and am unable to help. I was just letting you know that this current repo isn't being maintained, so you are unlikely to get a response. I would suggest using the newer version from the new repo, and if issues still arise ask over there.

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