Highlights
- Improved performance and reactivity.
- More consistent validation behavior and UX for array field items.
Backward incompatible changes
ObjectField
andArrayField
are now stateless components, their local state handling has been dropped entirely, resulting in large performance improvements.- The
defaultFieldValue
helper from theutils
module has been removed, as it wasn't used anymore. Note: this should only impact people importing anything else thanForm
from the package.
New features
- Fix #411: Enable required field on radio options. (#469)
- Spread
formContext
toArrayTemplateField
,files
andmultiselect
arrays (#456) - From #476: Non-nullable array item fields are now marked as required in the UI.
Bugfixes
- Don't pass consumed
SchemaField
class names to child component (#439) - Turn
ObjectField
andArrayField
into stateless components (#480) - Fix #471: Drop default value initialization at the widget level. (#476)
Kudos
Special thanks to @crumblix and @knilink for their help on this release. You folks rock!