Skip to content

Commit aaf4a4f

Browse files
committed
feat: add control element reference to useCustomControl
1 parent 74f2c8e commit aaf4a4f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/core/src/useCustomField/useCustomControl.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ export function useCustomControl<TValue = unknown>(
5353
*/
5454
controlId,
5555

56+
/**
57+
* Reference to the control element.
58+
*/
59+
controlEl,
60+
5661
/**
5762
* Props for the control element/group.
5863
*/

0 commit comments

Comments
 (0)