New features
- Add
withTheme
higher-order component (#1226). - Improve support for customization -- pass
schema
toAnyOfField
/OneOfField
(#1302), passlabel
,placeholder
andregistry
toArrayField
(#1301), passrequired
to custom checkbox widgets (#1259). - Support
readOnly
from latest JSON Schema draft (#1282). - Allow unknown
format
properties, in accordance with JSON Schema spec (#1277). - Numbers can now be nullable (#1269).
- Support widgets that are wrapped using
React.ForwardedRef
(#1227). - Add example for collapsing fields to documentation (#1294).
- Schemas without
type
but withproperties
are now assumed to beobject
(#1292).
Bug fixes
- Update wording in documentation (#1266).
- Correctly use
$ref
when matching options withoneOf
(#1287). - Remove
setState
call inFileWidget
to fix test failures especially with newernode
(#1285). - Ensure defaults are passed along for multiselect arrays when filling items to match
minItems
(#1264). - Fix bugs with defaults in combination with schema dependencies and
oneOf
/anyOf
(#1304).