formsy-react-components v2.0.0-alpha.2 Release Notes

Release Date: 2019-06-18 // almost 5 years ago
    • ⚡️ Update to use the official React context API (so we now require React 16.3).
    • ✂ Removed the Icon component, because Bootstrap has dropped support for the Glyphicon font.
    • Apply a text-danger class 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 validateOnSubmit is now validateBeforeSubmit.

    validateOnSubmit was confusing, as the form always validates on submit. The new prop name hopefully more
    clearly expresses what this does.

    • If validateBeforeSubmit is true (default) then validation errors for elements are immediately shown.
    • If validateBeforeSubmit is false then validation errors for elements are hidden until a form submission is attempted.
    • Migrate by updating prop name and flipping it's boolean value.

    Prop name onChange is now changeCallback.

    Prop name onBlur is now blurCallback.