Skip to content

Commit

Permalink
Merge pull request #7144 from abu-co/feature/form-field-name-attribut…
Browse files Browse the repository at this point in the history
…e-typing

fix(forms): add name attribute to FormFieldProps
  • Loading branch information
tugcekucukoglu authored Jan 28, 2025
2 parents baf52b0 + a7679da commit 230e4f6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/forms/src/formfield/FormField.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 230e4f6

Please sign in to comment.