Skip to main content

EditResourceCustomFieldProps

Props passed to custom field components used within the EditResource form

Properties​

editResourceOnChangeCallback()?​

optional editResourceOnChangeCallback: (newPropertyValue, propertyName) => void

Event handler called when the field value changes

Parameters​

newPropertyValue​

string

The new value of the property

propertyName​

string

The name of the property being changed

Returns​

void


form​

form: UseFormReturn<WithIndexer<string>>

React Hook Form instance for accessing and manipulating form state


uiPropertyMeta?​

optional uiPropertyMeta: UiPropertyMeta

Ui metadata for the property associated with this field, if applicable