Interface: FormFieldBaseProperties
Defined in: shared/types/componentProps.ts:181
Base form field properties for input components.
Remarksโ
These props provide the essential form field functionality including labeling, validation, and help text support. This serves as a base interface that can be extended by components requiring additional properties like children.
Hierarchyโ
Extended byโ
BaseFormFieldPropertiesFormFieldPropertiesStringFieldPropsBaseStandardInputPropertiesStandardSelectProperties
Propertiesโ
error?โ
readonly optional error?: string;
Defined in: shared/types/componentProps.ts:183
Error message to display when validation fails
helpText?โ
readonly optional helpText?: string;
Defined in: shared/types/componentProps.ts:185
Help text to provide guidance to users
idโ
readonly id: string;
Defined in: shared/types/componentProps.ts:187
Unique identifier for the field (required for accessibility)
labelโ
readonly label: string;
Defined in: shared/types/componentProps.ts:189
Label text to display for the field
required?โ
readonly optional required?: boolean;
Defined in: shared/types/componentProps.ts:191
Whether the field is required for form submission