This component is returned by
useWorkspaceSettingsForm().useForm() where validation is defined in the schema, workspace settings validation is specified directly on the input components using props like min and max.
Example
workspace-settings.tsx
Props
The label of the input field.
The path to the
number value of the input field in your settings schema.e.g. "sync_interval_minutes", "api.timeout_seconds"An optional placeholder text for your input.
The minimum allowed value. Validation will fail if the user inputs a number less than this value.
The maximum allowed value. Validation will fail if the user inputs a number greater than this
value.
Whether or not the field should be disabled.Defaults to
false (not disabled).