Interface: DynamicFieldProperties
Defined in: src/components/AddSiteForm/DynamicField.tsx:64
Props for the DynamicField component.
Propertiesโ
disabled?โ
readonly optional disabled?: boolean;
Defined in: src/components/AddSiteForm/DynamicField.tsx:68
Whether the field is disabled.
fieldโ
readonly field: MonitorFieldDefinition;
Defined in: src/components/AddSiteForm/DynamicField.tsx:72
Field definition describing the field's properties.
onChangeโ
readonly onChange: (value: string | number) => void;
Defined in: src/components/AddSiteForm/DynamicField.tsx:78
Change handler for the field value.
Parametersโ
valueโ
string | number
The new value for the field.
Returnsโ
void
valueโ
readonly value: string | number;
Defined in: src/components/AddSiteForm/DynamicField.tsx:82
Current value of the field.