Interface: TextFieldProperties
Defined in: src/components/AddSiteForm/TextField.tsx:72
Properties for the TextField 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โ
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โ
max?โ
readonlyoptionalmax?:number
Defined in: src/components/AddSiteForm/TextField.tsx:74
Maximum value for number inputs (ignored for text/url types)
min?โ
readonlyoptionalmin?:number
Defined in: src/components/AddSiteForm/TextField.tsx:76
Minimum value for number inputs (ignored for text/url types)
placeholder?โ
readonlyoptionalplaceholder?:string
Defined in: src/components/AddSiteForm/TextField.tsx:78
Placeholder text displayed when input is empty
type?โ
readonlyoptionaltype?:"number"|"url"|"text"
Defined in: src/components/AddSiteForm/TextField.tsx:80
Input type - text, url, or number
disabled?โ
readonlyoptionaldisabled?:boolean
Defined in: src/components/AddSiteForm/fields/fieldFactories.tsx:59
Whether the field is disabled.
Inherited fromโ
onChangeโ
readonlyonChange: (value:string) =>void
Defined in: src/components/AddSiteForm/fields/fieldFactories.tsx:61
Change handler invoked with the new string value.
Parametersโ
valueโ
string
Returnsโ
void
Inherited fromโ
valueโ
readonlyvalue:string
Defined in: src/components/AddSiteForm/fields/fieldFactories.tsx:63
Current field value.