You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting a min/max on a JSON Schema is currently not supported, also see: json-schema-org/json-schema-spec#99
In addition there is no support for this in the UI Schema, but there could be. I think this is a good idea, contributions welcome.
The UI Schema holds an "option" (object) property where such information could be stored:
minDate: date
maxDate: date
Concerning default values, you can just pre-initialize the JSON with the required default value and it will be data bound and therefore used in the control.
On Mon, Oct 23, 2017 at 3:12 PM, Maximilian Koegel ***@***.*** > wrote:
Setting a min/max on a JSON Schema is currently not supported, also see:
json-schema-org/json-schema-spec#99
<json-schema-org/json-schema-spec#99>
In addition there is no support for this in the UI Schema, but there could
be. I think this is a good idea, contributions welcome.
The UI Schema holds an "option" (object) property where such information
could be stored:
- minDate: date
- maxDate: date
Concerning default values, you can just pre-initialize the JSON with the
required default value and it will be data bound and therefore used in the
control.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#666 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AbfDhOC5m1JScLkTfvDz5wWS79UseKo3ks5svF-FgaJpZM4QCWWR>
.
how to set min and max value for date picker or how to set default date is today date
The text was updated successfully, but these errors were encountered: