Version 2.1.0
13 Sep, 2022
This is a minor release, nevertheless brings some exciting new features and some bugfixes.
What's new
New features
- Data validation
APIs for data validation and displaying error messages under input fields. - Validation keywords
Support for validation keywords such as:required
,uniqueItems
,minLength
,maxLength
,minimum
,maximum
,exclusiveMinimum
,exclusiveMaximum
,multipleOf
. - Autocomplete widget
New autocomplete widget which can be used to load options from the server via AJAX. - File deletion
A delete button has been added in Media Library thumbnails which will send aDELETE
request to file handler endpoint. In addition to that,DELETE
requests will automatically be sent to the server when Clear button is clicked or when exiting page without form submission. - Rename choices
label
keyword totitle
For consistency with JSON schema, choicelabel
keyword has been renamed totitle
. However, thelabel
keyword will still continue to work. - Time widget improvements
Time widget's input spinner is now circular i.e. after reaching maximum value, it will go back to 0 (e.g. after 12 for hours, it will go to 0 if the hour is incremented and will go from 0 to 12 if decremented). - Range input widget
Support for range input widget. Earlier range input was added using theformat
keyword, but as a range input also returns a number value (no need for a specialised format). Hence, it didn't make sense to use range as a format. So, now range inputs can be created using thewidget
keyword.