Releases: bhch/react-json-form
Releases · bhch/react-json-form
Version 2.8.0
23 Apr, 2023
New features
- Hidden input:
Support for hidden inputs using"widget": "hidden"
.
Version 2.7.2
Version 2.7.1
Version 2.7.0
Version 2.6.0
Version 2.5.0
11 Mar, 2023
New features
- Support for
oneOf
,anyOf
andallOf
.
Version 2.4.0
Version 2.3.0
31 Oct, 2022
New features
fileinput
widget
Now you can customise the input forfile-url
inputs using thewidget
keyword. If you don't want to display a modal, you can usewidget: 'fileinput'
to display a simple input field.
Version 2.2.0
06 Oct, 2022
New features
fileHandlerArgs
New config variable calledfileHandlerArgs
has been added. It can be used to provide a key-value pair which will be sent to thefileHandler
URL via the querystring. This is helpful in identifying the form instance on the server if you have one common file handler for all forms.
Changes
- #52: File input's Clear button will not send the DELETE request. A dedicated Delete button may be implemented in the future.
Bugfixes
- #49: (Browser API)
FormInstance
data was not updated when the data was initially synced by the form.
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.