New properties not shown
See original GitHub issueWhen updating JSON schema with new optional properties and then loading a JSON which does not have that optional properties, they are not shown in the editor.
How to reproduce: Go to http://jeremydorn.com/json-editor/ and add this property to the person object’s properties in the JSON schema:
"title": {
"type": "string",
"description": "Title"
},
and then click on “Update Schema”
The new property will be visible in the form and the JSON Output will be refreshed:
{
"name": "Jeremy Dorn",
"title": "",
"age": 25,
"favorite_color": "#ffa500",
"gender": "male",
"location": {
"city": "San Francisco",
"state": "CA",
"citystate": "San Francisco, CA"
},
"pets": [
{
"type": "dog",
"name": "Walter"
}
]
}
Delete this from the JSON output and click on “update form”:
"title": "",
Now the “title” property will not be shown anymore. Any ideas on how to solve this issue? Thank you
Issue Analytics
- State:
- Created 8 years ago
- Comments:8
Top Results From Across the Web
Properties window is not displaying properly and not showing
Properties window is not displaying properly and not showing information. I recently downloaded Greenshot from https://getgreenshot.org/.
Read more >New Property not showing in edit mode - Optimizely World
Hi there,. Working on an existing block,. [Display(Name = "string 1", GroupName = SystemTabNames.Content, Order = 10)] [CultureSpecific]
Read more >Properties window not showing in AutoCAD
The properties palette does not show within the program even when using the PROPERTIES command.
Read more >Why when adding new properties to custom control the ...
The custom property is shown in the "Properties" tab of the PropertyGrid control, in its own "Extended Properties" category (naturally, ...
Read more >Object.defineProperty() - JavaScript - MDN Web Docs
defineProperty() defines a new property directly on an object, or modifies an existing property on an object, and returns the object.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Quick and temporary solution - remove the line below ( // REMOVED => )
`
setValue: function(value, initial) { var self = this; value = value || {};
+1