Skip to content

Version 2.1.0

Compare
Choose a tag to compare
@bhch bhch released this 13 Sep 09:42
· 142 commits to master since this release

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 a DELETE 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 to title
    For consistency with JSON schema, choice label keyword has been renamed to title. However, the label 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 the format 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 the widget keyword.