Releases: tkrotoff/react-form-with-constraints
Releases · tkrotoff/react-form-with-constraints
v0.14.0
Breaking Changes
- Make DisplayFields work with React Native. You will need to write:
- HTML:
<pre>Fields = <DisplayFields /></pre> - React Native:
<Text>Fields = <DisplayFields /></Text>
- HTML:
Features
- Upgrade npm packages
- componentWillMount => UNSAFE_componentWillMount => componentDidMount
- componentWillUpdate => UNSAFE_componentWillUpdate => componentDidUpdate
- Prettier + ESLint - TSLint
- Add
Field.element: HTMLInput | TextInput | undefined, see #41
Fixes
- Fix react-form-with-constraints-tools package.json
"main": "lib-es5/index.js"
v0.13.0
v0.12.0
v0.11.0
v0.10.0
v0.9.3
v0.9.2
v0.9.1
Features
<Input>component for field styling- Material-UI integration with
react-form-with-constraints-material-ui hasFeedbacks()to implement reset button
Breaking Changes
FieldFeedbackuses<span style="display: block">instead of<div>in order to be a child of<p>- HTML: styling done on
FieldFeedbackwithclassesprops instead ofFormWithConstraints.fieldFeedbackClassNames - React Native: styling done on
FieldFeedbackwiththemeprops instead ofFormWithConstraints.fieldFeedbackStyles - Rename TypeScript
InputtoInputElement
v0.8.0
Features
- Async support
- Rewrite to allow nested
FieldFeedbacks - Strip console.* in production thanks to rollup-plugin-strip
- Add
reset(), see #22
Breaking Changes
FieldFeedbacksshowattribute replaced bystopvalidateFields()returnsPromise<Field[]>- Add
validateForm(): does not re-validate fields already validated contrary tovalidateFields() - Improve typings, see DefinitelyTyped/DefinitelyTyped#16318 (comment)
Fixes
- Fix
computeFieldFeedbackKey()implementation - Fix possible crash with React Native, see 03d72e1