Merge pull request #7144 from abu-co/feature/form-field-name-attribute-typing

fix(forms): add name attribute to FormFieldProps
pull/7160/head
Tuğçe Küçükoğlu 2025-01-28 11:31:39 +03:00 committed by GitHub
commit 230e4f6cce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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