-
Notifications
You must be signed in to change notification settings - Fork 645
Closed
Milestone
Description
Hi, this is my form:
[
{
"key": "showinput",
"type": "checkbox"
},
{
"key": "seconds",
"type": "number",
"condition": "model.showinput"
}
]
and this is my schema:
{
"type": "object",
"properties": {
"showinput": {
"type": "boolean",
"title": "Show integer input",
"default": true
},
"seconds": {
"type": "integer",
"title": "Seconds",
"default": 60,
"minimum": 1
}
},
"required": [
"seconds"
]
}
What I do:
- Remove any data from "Seconds" input (the form becomes invalid).
- Uncheck the "Show Integer Input" checkbox (the form is valid again).
- Check the "Show Integer Input" checkbox back.
And now the form is still valid! I need it invalid obviously, how can I fix that?
Thanks)