formsy-react
formsy-react copied to clipboard
A form input builder and validator for React JS
2.0.2 breaks in React 16.13.0, while everything works with formsy-react 2.0.0 in React 16.13.0
https://codesandbox.io/s/react-playground-cjvyh Submit and view the console shows the entire issue....
hi, If defaultValue is an empty string and you use Autofill e.g. with Chrome, you will get a disabled Submit button. The form is still invalid until you click on...
Form `onChange` is called only on `attachToForm` but it doesn't called when you remove an input. working example: https://codesandbox.io/s/formsy-vnfvm?file=/src/index.js
I have a case where i validate onBlur={this.props.setValue(this.props.getValue());} / onExit Now only validation rule that i want to achieve is: Required / No empty text And my input component code...
If `process.env.NODE_ENV` is not set, the umd build throws an error when run in browser. ``` react-is.development.js:14 Uncaught ReferenceError: process is not defined at react-is.development.js:14 at createCommonjsModule (formsy-react.umd.js:248) at react-is.production.min.js:15...
It would be really useful to be able to use isPristine in the component that has the ``, for example for when you want to enable submit only when form...
Start with a Component that updates props state asynchronously when form values change, something like this: ``` function MyFormThing(props) { function handleChange(formState, isChanged) { console.log('isChanged:', isChanged) // (trigger async action...
Upgrading from 0.19, noticed that the "magical" `validate()` method was removed. Is there any new way to use props/state in validations?