Skip to content

Commit 4d61efb

Browse files
authored
fix typo in controller.mdx (#1016)
1 parent b4606b4 commit 4d61efb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/usecontroller/controller.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The following table contains information about properties which `Controller` pro
3232

3333
| Object Name | Name | Type | Description |
3434
| -------------------------------------- | -------------------- | ------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
35-
| `field` | `onChange` | <TypeText>`(value: any) => void`</TypeText> | A function which sends the input's value to the library.<br/><br/>_ It should be assigned to the `onChange` prop of the input and value should **not be `undefined`**.<br/>_ This prop update [formState](/docs/useform/formstate) and you should avoid manually invoke [setValue](/docs/useform/setvalue) or other API related to field update. |
35+
| `field` | `onChange` | <TypeText>`(value: any) => void`</TypeText> | A function which sends the input's value to the library.<br/><br/> _It should be assigned to the `onChange` prop of the input and value should **not be `undefined`**._ <br/>This prop update [formState](/docs/useform/formstate) and you should avoid manually invoke [setValue](/docs/useform/setvalue) or other API related to field update. |
3636
| `field` | `onBlur` | <TypeText>`() => void`</TypeText> | A function which sends the input's onBlur event to the library. It should be assigned to the input's `onBlur` prop. |
3737
| `field` | `value` | <TypeText>unknown</TypeText> | The current value of the controlled component. |
3838
| `field` | `disabled` | <TypeText>boolean</TypeText> | The disabled state of the input. |

0 commit comments

Comments
 (0)