Skip to content

Releases: bhch/react-json-form

Version 2.12.1

13 Nov 18:34
Compare
Choose a tag to compare

14 Nov, 2023

This is a patch release which fixes one critical bug.

Bugfixes

  • #90: When initial data was null, the form was not creating blank data for it.

Version 2.12.0

09 Nov 02:24
Compare
Choose a tag to compare

09 Nov, 2023

New features

  • Support for const keyword.
  • #70: Support for collapsing sections.
  • #86: Support for multiselect-autocomplete widget.

Improvements

  • #88: The form is more tolerant now when null is provided for arrays or object types. The form will implicitly convert null to appropriate type instead of showing an error.

Version 2.11.1

06 Sep 11:28
Compare
Choose a tag to compare

06 Sep, 2023

Bugfixes

  • Fixed #83: Set disabled attribute on textarea.
  • Fixed #84: Correct the error message for maximum keyword.
  • Fixed #85: Display array description.

Version 2.11.0

13 Aug 07:54
Compare
Choose a tag to compare

13 Aug, 2023

Bugfixes

  • #81: readonly keyword had no effect on datetime input.

Minor changes

  • #82: Now all readonly inputs will also get the disabled html attribute.
  • When datetime and multiselect fields are readonly, their container divs will get a readonly class to offer better styling control.

Version 2.10.0

12 Aug 15:35
Compare
Choose a tag to compare

12 Aug, 2023

New features

  • #77: Support for making the whole form readonly.
  • #78: Support for the readonly keyword on arrays and objects.
  • #79: Multiselect widget will now display selected values in the input field.

Bugfixes

  • #80: Fixed a bug due to which error messages for top-level arrays were not being displayed.

Version 2.9.0

27 Jul 04:55
Compare
Choose a tag to compare

27 Jul, 2023

New features

  • #75: Support for the description keyword.

Minor changes

  • #76: Manually added keys (when using additionalProperties) will display their key name as it is. Earlier, the name was prettified (i.e. capitalized, underscores removed) for display purposes, but that will no longer happen.

Version 2.8.4

24 Jul 11:46
Compare
Choose a tag to compare

24 Jul, 2023

Bugfixes

  • Use first value in case the type is an array of multiple types (i.e. {'type': ['string', 'number']}. This is temporary and full support for multiple types shall be added in future.

Version 2.8.3

24 Jul 06:35
Compare
Choose a tag to compare

24 Jul, 2023

Bugfixes

  • #72: Reset selected value to blank if it's not a valid choice.
  • #73: Add choice validation for string and number types.

Version 2.8.2

19 Jun 18:15
Compare
Choose a tag to compare

19 Jun, 2023

Bugfixes

  • #67: Fixed a bug which crashed the form for oneOf/anyOf schemas

Version 2.8.1

01 Jun 09:05
Compare
Choose a tag to compare

01 Jun, 2023

Bugfixes

  • #66: Fixed a bug due to which the type of subschemas with a $ref wasn't being determined correctly.