react-form-with-constraints icon indicating copy to clipboard operation
react-form-with-constraints copied to clipboard

Simple form validation for React

Results 21 react-form-with-constraints issues
Sort by recently updated
recently updated
newest added

Bumps [react-native](https://github.com/facebook/react-native) from 0.63.4 to 0.64.1. Release notes Sourced from react-native's releases. v0.64.1 This patch release is specifically targetted towards fixing iOS build problems in Xcode 12.5. If it doesn't...

dependencies

I'm seeing some unexpected behavior when I trigger validation on a button press: ```typescript onSave = async (event: React.MouseEvent) => { event.preventDefault(); // I need to add this call, otherwise...

See https://github.com/zertosh/invariant See https://github.com/facebook/fbjs/blob/c69904a511b900266935168223063dd8772dfc40/packages/fbjs/src/__forks__/invariant.js

enhancement
question

With v0.12, to stylize an input given its state (pending for example), you have to catch the events: ```TypeScript export class Input extends React.Component { [...] state: InputState = {...

enhancement
question

Hi there, I'm using the material-ui flavor of `react-form-with-constraints` on a form that hosts a react filepond component to allow upload of files. There aren't any validation hooks for this...

enhancement

``` react-dom.development.js?61bb:506 Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all...

See: - https://www.reddit.com/r/reactjs/comments/b8h7kv/form_validation_using_custom_react_hooks/ - https://www.frontendtyped.com/2019/03/31/react-ts - https://github.com/Upmostly/custom-react-hooks-form-validation In https://github.com/tkrotoff/react-form-with-constraints/blob/v0.12.0/examples/PlainOldReact/App.tsx#L57 use `e.target.name`? See https://github.com/Upmostly/custom-react-hooks-form-validation/blob/7d08e8b7d65f1387d42ae1632493b756f972f81c/src/useForm.js#L23

enhancement
question

I hate to be a pest with stupid questions.... ;) I'm looking for a way to show some helper text on an unvalidated field and then swap it out for...

enhancement

Redundant with `Field.hasErrors()` which leads to stupid code: https://github.com/tkrotoff/react-form-with-constraints/blob/1e9a57390ea5fb75472d7b0c208870abf2d97a93/packages/react-form-with-constraints/src/Input.tsx#L80

question