- Changed the
errors
prop to allow either an array or object. - Added
disabled
prop which controls disabling all forum elements and submit button. - Added dot-object package to handle translating dotted objects from the schema
- Objects in schemas are now possible
- Enabled Babel spread operator plugin
- Mongo cannot update a single key inside an object so we now pass all the related data
onSubmitExtra
New prop which you can use to pass an object which is then returned as an extra parameter on the onSubmit function
- Errors for text inputs are now also displayed above the input (using Material-UI)
- Disable the submit button if there is nothing to submit
- Do not submit fields which have not changed
buttonType
can now be passed theIconButton
value for an icon only button.buttonParentStyle
is a new prop that can be used to style the parentdiv
element of a Material-UI field.
- Customization ability for the Material-UI button. FR5
- Allow the use of a custom button instead of our default Material-UI. FR5
useFields
prop has been added back (removed by mistake)
collection
prop type has been removedschema
prop type has been added and expects your JSON schema (not simple schema)- Automated testing has been added
- Resolved form className prop. PR2
- React v15 compatibility