Hex Core JS
    Preparing search index...

    Type Alias FieldProps<FV, T>

    FieldProps: BaseSingleNameFieldProps<FV, T> & {
        display?: FieldDisplayFunction<T>;
        optional?: boolean;
    }

    Generic props for a simple field (single name and scalar value, as opposed to range-type or array value).

    Type Parameters

    Type Declaration

    • Optionaldisplay?: FieldDisplayFunction<T>

      The display function for the field. Controls how to render the value when not editing. Useful for adding JSX elements or functionality to the displayed value (e.g. a link).

    • Optionaloptional?: boolean

      Indicates if the field is optional or required.