Add name to FormFieldProps

pull/7144/head
abuco 2025-01-25 13:11:19 +11:00
parent 68fa947faf
commit a7679da0af
1 changed files with 4 additions and 0 deletions

View File

@ -80,6 +80,10 @@ export interface FormFieldResolverOptions {
* Defines valid properties in Form component.
*/
export interface FormFieldProps {
/**
* The name of the form field.
*/
name?: string | undefined;
/**
* A function that resolves validation logic.
* @param {FormResolverOptions} e - Resolver options