- Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
Description
Prerequisites
- I have read the documentation;
- In the case of a bug report, I understand that providing a SSCCE example is tremendously useful to the maintainers.
- Ideally, I'm providing a sample JSFiddle or a shared playground link demonstrating the issue.
Description
If there is an additionalProperties object present that has a title contained within it, the input for that title is overridden whenever you click out of the input.
Steps to Reproduce
{ "title": "A customizable registration form", "description": "A simple form with additional properties example.", "type": "object", "additionalProperties": { "type": "object", "properties": { "code": { "type": "integer" }, "text": { "type": "string" } }, "title": "This is a custom title" } } - Click to add a new object
- In the "This is a custom title" input box, type "TKTK".
- Click out of the input
- Input reverts to "This is a custom title" and neither the key, nor the headers the get updated to "TKTK Key" nor "TKTK".
- Remove
"title": "This is a custom title"from the JSON Schema, repeat steps, everything works as expected.
Expected behavior
The data that is input into the key input should be retained.
Actual behavior
Input data is lost.
Version
dev-master