Interface: BaseFormFieldProperties
Defined in: src/components/AddSiteForm/BaseFormField.tsx:58
Properties for the BaseFormField component.
Hierarchyโ
Extendsโ
Propertiesโ
error?โ
readonlyoptionalerror?:string
Defined in: shared/types/componentProps.ts:170
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error message to display when validation fails
Inherited fromโ
helpText?โ
readonlyoptionalhelpText?:string
Defined in: shared/types/componentProps.ts:172
Help text to provide guidance to users
Inherited fromโ
FormFieldBaseProperties.helpText
idโ
readonlyid:string
Defined in: shared/types/componentProps.ts:174
Unique identifier for the field (required for accessibility)
Inherited fromโ
labelโ
readonlylabel:string
Defined in: shared/types/componentProps.ts:176
Label text to display for the field
Inherited fromโ
required?โ
readonlyoptionalrequired?:boolean
Defined in: shared/types/componentProps.ts:178
Whether the field is required for form submission
Inherited fromโ
FormFieldBaseProperties.required
childrenโ
readonlychildren: (ariaProps:AriaProperties) =>ReactNode
Defined in: src/components/AddSiteForm/BaseFormField.tsx:60
Render function that receives ARIA properties