Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8
Open
Description
One does not simply do this as usually:
<Field name="xTest" required type="number" render={({input}) => ( return <input {...input}/>)/>It is now necessary to also pass({input, ...rest}) to<input {...input} {...rest}/>, but careful, there also is themeta object!, so we must first consume it even though we don't need it.({input, meta, ...rest})
I believe that it would make better sense to include all input props insideinput property. If not, can you please shed some light on it and perhaps better documented in the example here?https://github.com/final-form/react-final-form-html5-validation
Metadata
Metadata
Assignees
Labels
No labels
