Skip to content

Commit c44e201

Browse files
committed
RruForm: feat: jsdoc
1 parent c92a7d2 commit c44e201

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/form/hooks/useField.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import { useFormContext, useFormState, useWatch } from 'react-hook-form';
1919
import { resolveObjectAttribute } from '../../utils/utils';
2020

2121
/**
22+
* @param name field name
2223
* @param onProgrammaticValue Should check if the provided serialized value does not
2324
* match the current deserialized value before updating the formContext, otherwise you would end up in an infinite re-render
2425
*/

0 commit comments

Comments
 (0)