Interface: BaseFormFieldProperties
Defined in: src/components/AddSiteForm/BaseFormField.tsx:58
Properties for the BaseFormField component.
Hierarchyโ
Extendsโ
Propertiesโ
error?โ
readonly optional error?: string;
Defined in: shared/types/componentProps.ts:183
Error message to display when validation fails
Inherited fromโ
helpText?โ
readonly optional helpText?: string;
Defined in: shared/types/componentProps.ts:185
Help text to provide guidance to users
Inherited fromโ
FormFieldBaseProperties.helpText
idโ
readonly id: string;
Defined in: shared/types/componentProps.ts:187
Unique identifier for the field (required for accessibility)
Inherited fromโ
labelโ
readonly label: string;
Defined in: shared/types/componentProps.ts:189
Label text to display for the field
Inherited fromโ
required?โ
readonly optional required?: boolean;
Defined in: shared/types/componentProps.ts:191
Whether the field is required for form submission
Inherited fromโ
FormFieldBaseProperties.required
childrenโ
readonly children: (ariaProps: AriaProperties) => ReactNode;
Defined in: src/components/AddSiteForm/BaseFormField.tsx:60
Render function that receives ARIA properties