Optional ReadonlyerrorError message to display when the field is invalid.
Shown below the field when isValid is false. Can be a function to provide
dynamic error messages based on the validation context.
Optional ReadonlyhelperHelper text to guide the user.
Shown below the field to provide additional context or instructions. Can be a function to provide dynamic help text based on the field's state.
Optional ReadonlyisWhether the field is enabled for user input.
When false, the field is disabled and the user cannot modify its value. Can be a function
to enable/disable the field dynamically based on other properties.
Optional ReadonlyisWhether the field is required.
When true, displays a required indicator and validates that the field has a value.
Can be a function to determine required status dynamically based on other properties.
Optional ReadonlyisWhether the field's current value is valid.
When false, displays the field in an error state and shows the error text if provided.
Can be a function to validate the field dynamically based on its value and other properties.
Optional ReadonlyisWhether the field is visible in the form.
When false, the field is completely hidden. Can be a function to show/hide the field
dynamically based on other properties.
ReadonlylabelThe display label shown for the field.
Displayed above the input control to indicate what the field represents.
ReadonlypropertyThe name of the feature property this field edits.
Used to read and write the field's value from the feature's properties. Must match the property name on the feature being edited.
ReadonlyrenderFunction that renders the custom field control.
The current value of the field from the feature properties
Callback to update the field value
React element(s) to render for this field
ReadonlytypeIdentifies this as a custom field.
Configuration for a custom field with user-provided rendering.
Allows complete control over the field's UI by providing a custom render function. Use this when none of the built-in field types meet your requirements and you need full control over the field's appearance and behavior.
The render function receives the current field value and a callback to update it, and must return a React node to display in the form. The React node will be rendered as a child of a Chakra
Field.Root.