Skip to content

Commit 30f7d93

Browse files
committed
docs: add note to Controller documentation
1 parent 0ab30e2 commit 30f7d93

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/content/docs/usecontroller/controller.mdx

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ sidebar: apiLinks
88

99
React Hook Form embraces uncontrolled components and native inputs, however it's hard to avoid working with external controlled component such as [React-Select](https://github.com/JedWatson/react-select), [AntD](https://github.com/ant-design/ant-design) and [MUI](https://mui.com/). This wrapper component will make it easier for you to work with them.
1010

11+
**Note:** if you simply want to control a field's value from outside the form, it's not necessary to use `Controller`. You can simply use the [`values`](/docs/useform#values) option of `useForm`.
12+
1113
### Props
1214

1315
---

0 commit comments

Comments
 (0)