@dxos/react-ui-form
    Preparing search index...

    Type Alias FormFieldOverride

    Per-instance overrides for one field (keyed by json-path in Form.Root's fieldOverrides), for what the schema cannot say about this use of the form: e.g. a value several edited objects disagree on.

    type FormFieldOverride = {
        action?: FormFieldAction;
        collaborative?: boolean;
        description?: string;
        hidden?: boolean;
        hideLabel?: boolean;
        icon?: string;
        indeterminate?: boolean;
        inlineLabel?: boolean;
        keepColumns?: boolean;
        label?: string;
        max?: number;
        min?: number;
        newItem?: (values: readonly unknown[]) => unknown;
        onOpenChange?: (open: boolean) => void;
        open?: boolean;
        placeholder?: string;
        presentation?: FormPresentation;
        readonly?: boolean;
        required?: boolean;
        rowAlign?: "start";
        step?: number;
        tone?: "muted";
    }
    Index

    Properties

    A button at the end of a text control that sets its value.

    collaborative?: boolean

    Edits the string through the binding the form's extensions give the field's editor (createDataExtensions), so its edits reach the object directly rather than onValuesChanged.

    description?: string
    hidden?: boolean
    hideLabel?: boolean

    Draw no label: the control names itself, or the section heading above it already does.

    icon?: string

    The field's glyph, shown where its value has none of its own (an unset tag, an option without an icon).

    indeterminate?: boolean

    Show no value until the user edits it (several edited objects disagree on it); the placeholder says so and a required field is not flagged. The form's values should still hold a valid value here so the form validates.

    inlineLabel?: boolean

    The label sits beside the control, in the shared label column, rather than above it.

    keepColumns?: boolean

    An array keeps its handle and remove columns while read-only, so a form that toggles read-only moves nothing.

    label?: string
    max?: number
    min?: number

    Numeric bounds and step for this use of the field, narrower than the schema's: e.g. a range the editor offers that stored data need not satisfy (a check on the schema would reject such a record outright).

    newItem?: (values: readonly unknown[]) => unknown

    An array's value for the row its add button creates, from the rows it has. A host that stores a new row differently from the schema's empty value (a minted key, default text) gives the stored value here, so the form holds no edit the source never matches.

    onOpenChange?: (open: boolean) => void
    open?: boolean

    A nested object's group: whether it is open, for a host that keeps the state (unset, it starts open).

    placeholder?: string

    An input's or a reference picker's placeholder; for an array of values or owned objects, the text shown in place of its rows while it has none.

    presentation?: FormPresentation

    Overrides the form's layout for this field alone.

    readonly?: boolean
    required?: boolean

    This use of the form always holds a value, though the schema allows none: a select offers no "None".

    rowAlign?: "start"

    An array's rows top their handle, cells and remove button on the row's first line, for cells that wrap.

    step?: number
    tone?: "muted"

    The value's text colour: muted for text that annotates the row rather than states it.