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
fix: correct typo issue for link formstate and formState type example (#1162)
* fix: fix typo issue in link for formState
* chore: format code with pnpm run format
* fix: correct formState type example
* Revert "chore: format code with pnpm run format"
This reverts commit 798b9c5.
* chore: format code with 'pnpm run format --write'
without
'src/content/ts.mdx' file
| 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})`}/> |
21
-
| exact | <TypeText>boolean</TypeText> | This prop will enable an exact match for input name subscriptions. |`subscribe({ name: 'target', exact: true })`|
| 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})`}/> |
21
+
| exact | <TypeText>boolean</TypeText> | This prop will enable an exact match for input name subscriptions. |`subscribe({ name: 'target', exact: true })`|
22
22
23
23
<Admonitiontype="important"title="Notes">
24
24
25
25
<ul>
26
26
<li>
27
-
<p>This function is intended for subscribing to changes only; dispatching state updates or triggering re-renders is not allowed. eg `setValue` or `reset`</p>
27
+
<p>
28
+
This function is intended for subscribing to changes only; dispatching
29
+
state updates or triggering re-renders is not allowed. eg `setValue` or
30
+
`reset`
31
+
</p>
28
32
</li>
29
33
<li>
30
34
<p>
@@ -64,14 +68,14 @@ export default function App() {
0 commit comments