Interface: StringFieldPropsBase
Defined in: src/components/AddSiteForm/fields/fieldFactories.tsx:56
Base properties shared across string-based form field components.
Extendsโ
Extended byโ
Propertiesโ
error?โ
readonlyoptionalerror:string
Defined in: shared/types/componentProps.ts:167
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:169
Help text to provide guidance to users
Inherited fromโ
FormFieldBaseProperties.helpText
idโ
readonlyid:string
Defined in: shared/types/componentProps.ts:171
Unique identifier for the field (required for accessibility)
Inherited fromโ
labelโ
readonlylabel:string
Defined in: shared/types/componentProps.ts:173
Label text to display for the field
Inherited fromโ
required?โ
readonlyoptionalrequired:boolean
Defined in: shared/types/componentProps.ts:175
Whether the field is required for form submission
Inherited fromโ
FormFieldBaseProperties.required
disabled?โ
readonlyoptionaldisabled:boolean
Defined in: src/components/AddSiteForm/fields/fieldFactories.tsx:58
Whether the field is disabled.
onChange()โ
readonlyonChange: (value:string) =>void
Defined in: src/components/AddSiteForm/fields/fieldFactories.tsx:60
Change handler invoked with the new string value.
Parametersโ
valueโ
string
Returnsโ
void
valueโ
readonlyvalue:string
Defined in: src/components/AddSiteForm/fields/fieldFactories.tsx:62
Current field value.