You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Subscribe to [`formState`](/docs/useform/formState) changes and value updates. You can subscribe to individual fields or the entire form, while avoiding unnecessary re-renders caused by form changes.
10
10
@@ -15,8 +15,7 @@ Subscribe to [`formState`](/docs/useform/formState) changes and value updates. Y
| callback | <TypeText>`Function`</TypeText> | The callback function for the subscription. | <CodeAreawithOutCopyrawData={`subscribe({ \n formState: { \n values: true \n }, \n callback: ({ values }) => { \n console.log(values) \n } \n})`}/> |
22
21
| exact | <TypeText>boolean</TypeText> | This prop will enable an exact match for input name subscriptions. |`subscribe({ name: 'target', exact: true })`|
0 commit comments