Releases: twisty/formsy-react-components
Releases · twisty/formsy-react-components
v2.0.0-beta.3
v2.0.0-beta.3
v2.0.0-beta.2
v2.0.0-beta.2
v2.0.0-beta.1
v2.0.0-beta.1
v2.0.0-alpha.5
- Use newer version of
formsy-react(2.0.0-beta.7) - Make
eslintpass.
v2.0.0-alpha.4
<Textarea />: add correct styling to display error messages.- Mark
componentWillReceivePropsas unsafe. - Use newer version of
formsy-react(2.0.0-beta.6) - Use latest Bootstrap (4.4.1) css in examples.
v2.0.0-alpha.3
- Fix styling for a ‘required’
Selectmenu. - Restore ability to set classes on
Selectoptions. - Restore ability to disable
Selectoptions. - Display error messages on
CheckboxGroup. - This library now uses Bootstrap Custom Forms controls.
v2.0.0-alpha.2
- Update to use the official React context API (so we now require React 16.3).
- Removed the
Iconcomponent, because Bootstrap has dropped support for the Glyphicon font. - Apply a
text-dangerclass to the row when there are errors for the element, so the label is given a red colour. - Source is now written in TypeScript.
Breaking changes
-
Prop name
validateOnSubmitis nowvalidateBeforeSubmit.validateOnSubmitwas confusing, as the form always validates on submit. The new prop name hopefully more
clearly expresses what this does.- If
validateBeforeSubmitistrue(default) then validation errors for elements are immediately shown. - If
validateBeforeSubmitisfalsethen validation errors for elements are hidden until a form submission is attempted. - Migrate by updating prop name and flipping it's boolean value.
- If
-
Prop name
onChangeis nowchangeCallback. -
Prop name
onBluris nowblurCallback.
v2.0.0-alpha.1
- Initial work on switching to Bootstrap 4.