File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 2
2
3
3
- [ ` useForm ` ] ( #useform )
4
4
- [ ` useField ` ] ( #usefield )
5
- - [ `splitFormProps] ( #splitformprops )
5
+ - [ ` splitFormProps ` ] ( #splitformprops )
6
6
- [ ` useFormContext ` ] ( #useformcontext )
7
7
8
8
## ` useForm `
@@ -197,6 +197,12 @@ An `object` with the following components, properties and methods:
197
197
- ` runValidation() => void `
198
198
- Use this function to manually run this field's validation.
199
199
- This function does not run validation for fields.
200
+ - ` getInputProps(props: Object {}) => enhanced props Object `
201
+ - ` onChange: ChangeEventHandler `
202
+ - ` onBlur: FormEventHandler `
203
+ - ` ...rest ` - any other props that will be spread into the enhanced props
204
+ - Use this function to set props on input elements. If set, ` onChange ` and ` onBlur ` will be wrapped to update the field ` value ` .
205
+ - The enhanced props will always contain ` value ` , ` onChange ` , and ` onBlur ` . Any of the rest that are passed in will also be returned.
200
206
201
207
#### Field-Specific Methods
202
208
You can’t perform that action at this time.
0 commit comments