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 the meta
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 inside input
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