Skip to content

Releases: bhch/react-json-form

Version 2.8.0

23 Apr 07:24
Compare
Choose a tag to compare

23 Apr, 2023

New features

  • Hidden input:
    Support for hidden inputs using "widget": "hidden".

Version 2.7.2

28 Mar 16:53
Compare
Choose a tag to compare

28 Mar, 2023

Bugfixes

  • #62: Fixed required properties validation in nested objects.

Version 2.7.1

24 Mar 14:47
Compare
Choose a tag to compare

24 Mar, 2023

Bugfixes

  • #59: Handle validation errors in array items oneOf/anyOf
  • #60: Fix playground crashing

Version 2.7.0

22 Mar 14:28
Compare
Choose a tag to compare

22 Mar, 2023

New features

  • #58 : Support for oneOf/allOf/anyOf at the top level

Version 2.6.0

19 Mar 15:21
Compare
Choose a tag to compare

19 Mar, 2023

New features

  • #56: Support for required properties for an object.

Bugfixes

Version 2.5.0

10 Mar 22:14
Compare
Choose a tag to compare

11 Mar, 2023

New features

  • Support for oneOf, anyOf and allOf.

Version 2.4.0

20 Nov 15:28
Compare
Choose a tag to compare

20 Nov, 2022

Bugfixes

  • #55: Allow dash/hyphen in schema object keys.

Breaking changes

  • Now, keys for nested items in errorMap must be joined using the section sign (§) . This is due to fixing #55.

Version 2.3.0

31 Oct 06:20
Compare
Choose a tag to compare

31 Oct, 2022

New features

  • fileinput widget
    Now you can customise the input for file-url inputs using the widget keyword. If you don't want to display a modal, you can use widget: 'fileinput' to display a simple input field.

Version 2.2.0

06 Oct 14:08
Compare
Choose a tag to compare

06 Oct, 2022

New features

  • fileHandlerArgs
    New config variable called fileHandlerArgs has been added. It can be used to provide a key-value pair which will be sent to the fileHandler 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 09:42
Compare
Choose a tag to compare

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.