Backstage
    Preparing search index...

    Interface FieldExtensionUiSchema<TFieldReturnValue, TUiOptions>

    Type for Field Extension UiSchema

    interface FieldExtensionUiSchema<TFieldReturnValue, TUiOptions> {
        "ui:addable"?: boolean;
        "ui:ArrayFieldDescriptionTemplate"?: ComponentType<
            ArrayFieldDescriptionProps<TFieldReturnValue, RJSFSchema, any>,
        >;
        "ui:ArrayFieldItemTemplate"?: ComponentType<
            ArrayFieldTemplateItemType<TFieldReturnValue, RJSFSchema, any>,
        >;
        "ui:ArrayFieldTemplate"?: ComponentType<
            ArrayFieldTemplateProps<TFieldReturnValue, RJSFSchema, any>,
        >;
        "ui:ArrayFieldTitleTemplate"?: ComponentType<
            ArrayFieldTitleProps<TFieldReturnValue, RJSFSchema, any>,
        >;
        "ui:autocomplete"?: AutoFill;
        "ui:autofocus"?: boolean;
        "ui:BaseInputTemplate"?: ComponentType<
            BaseInputTemplateProps<TFieldReturnValue, RJSFSchema, any>,
        >;
        "ui:classNames"?: string;
        "ui:copyable"?: boolean;
        "ui:description"?: string;
        "ui:DescriptionFieldTemplate"?: ComponentType<
            DescriptionFieldProps<TFieldReturnValue, RJSFSchema, any>,
        >;
        "ui:disabled"?: boolean;
        "ui:duplicateKeySuffixSeparator"?: string;
        "ui:emptyValue"?: any;
        "ui:enumDisabled"?: (string | number | boolean)[];
        "ui:enumNames"?: string[];
        "ui:ErrorListTemplate"?: ComponentType<
            ErrorListProps<TFieldReturnValue, RJSFSchema, any>,
        >;
        "ui:field"?: string | Field<TFieldReturnValue, RJSFSchema, any>;
        "ui:FieldErrorTemplate"?: ComponentType<
            FieldErrorProps<TFieldReturnValue, RJSFSchema, any>,
        >;
        "ui:FieldHelpTemplate"?: ComponentType<
            FieldHelpProps<TFieldReturnValue, RJSFSchema, any>,
        >;
        "ui:fieldReplacesAnyOrOneOf"?: boolean;
        "ui:FieldTemplate"?: ComponentType<
            FieldTemplateProps<TFieldReturnValue, RJSFSchema, any>,
        >;
        "ui:filePreview"?: boolean;
        "ui:globalOptions"?: GlobalUISchemaOptions;
        "ui:help"?: string;
        "ui:hideError"?: boolean;
        "ui:inline"?: boolean;
        "ui:inputType"?: string;
        "ui:label"?: boolean;
        "ui:ObjectFieldTemplate"?: ComponentType<
            ObjectFieldTemplateProps<TFieldReturnValue, RJSFSchema, any>,
        >;
        "ui:options"?: TUiOptions & Partial<
            Omit<
                TemplatesType<TFieldReturnValue, RJSFSchema, any>,
                "ButtonTemplates",
            >,
        > & GlobalUISchemaOptions & {
            autocomplete?: AutoFill;
            autofocus?: boolean;
            classNames?: string;
            description?: string;
            disabled?: boolean;
            emptyValue?: any;
            enumDisabled?: (string | number | boolean)[];
            enumNames?: string[];
            filePreview?: boolean;
            help?: string;
            hideError?: boolean;
            inline?: boolean;
            inputType?: string;
            order?: string[];
            placeholder?: string;
            readonly?: boolean;
            rows?: number;
            style?: StyleHTMLAttributes<any>;
            submitButtonOptions?: UISchemaSubmitButtonOptions;
            title?: string;
            widget?: string | Widget<TFieldReturnValue, RJSFSchema, any>;
        } & {
            [key: string]: | string
            | number
            | boolean
            | object
            | any[]
            | null
            | undefined;
        };
        "ui:order"?: string[];
        "ui:orderable"?: boolean;
        "ui:placeholder"?: string;
        "ui:readonly"?: boolean;
        "ui:removable"?: boolean;
        "ui:rootFieldId"?: string;
        "ui:rows"?: number;
        "ui:style"?: StyleHTMLAttributes<any>;
        "ui:submitButtonOptions"?: UISchemaSubmitButtonOptions;
        "ui:title"?: string;
        "ui:TitleFieldTemplate"?: ComponentType<
            TitleFieldProps<TFieldReturnValue, RJSFSchema, any>,
        >;
        "ui:UnsupportedFieldTemplate"?: ComponentType<
            UnsupportedFieldProps<TFieldReturnValue, RJSFSchema, any>,
        >;
        "ui:widget"?: string | Widget<TFieldReturnValue, RJSFSchema, any>;
        "ui:WrapIfAdditionalTemplate"?: ComponentType<
            WrapIfAdditionalTemplateProps<TFieldReturnValue, RJSFSchema, any>,
        >;
        [name: string]: any;
    }

    Type Parameters

    • TFieldReturnValue
    • TUiOptions

    Hierarchy

    Indexable

    • [name: string]: any
    Index

    Properties

    "ui:addable"?: boolean
    "ui:ArrayFieldDescriptionTemplate"?: ComponentType<
        ArrayFieldDescriptionProps<TFieldReturnValue, RJSFSchema, any>,
    >
    "ui:ArrayFieldItemTemplate"?: ComponentType<
        ArrayFieldTemplateItemType<TFieldReturnValue, RJSFSchema, any>,
    >
    "ui:ArrayFieldTemplate"?: ComponentType<
        ArrayFieldTemplateProps<TFieldReturnValue, RJSFSchema, any>,
    >
    "ui:ArrayFieldTitleTemplate"?: ComponentType<
        ArrayFieldTitleProps<TFieldReturnValue, RJSFSchema, any>,
    >
    "ui:autocomplete"?: AutoFill
    "ui:autofocus"?: boolean
    "ui:BaseInputTemplate"?: ComponentType<
        BaseInputTemplateProps<TFieldReturnValue, RJSFSchema, any>,
    >
    "ui:classNames"?: string
    "ui:copyable"?: boolean
    "ui:description"?: string
    "ui:DescriptionFieldTemplate"?: ComponentType<
        DescriptionFieldProps<TFieldReturnValue, RJSFSchema, any>,
    >
    "ui:disabled"?: boolean
    "ui:duplicateKeySuffixSeparator"?: string
    "ui:emptyValue"?: any
    "ui:enumDisabled"?: (string | number | boolean)[]
    "ui:enumNames"?: string[]
    "ui:ErrorListTemplate"?: ComponentType<
        ErrorListProps<TFieldReturnValue, RJSFSchema, any>,
    >
    "ui:field"?: string | Field<TFieldReturnValue, RJSFSchema, any>

    Allows RJSF to override the default field implementation by specifying either the name of a field that is used to look up an implementation from the fields list or an actual one-off Field component implementation itself

    "ui:FieldErrorTemplate"?: ComponentType<
        FieldErrorProps<TFieldReturnValue, RJSFSchema, any>,
    >
    "ui:FieldHelpTemplate"?: ComponentType<
        FieldHelpProps<TFieldReturnValue, RJSFSchema, any>,
    >
    "ui:fieldReplacesAnyOrOneOf"?: boolean

    By default, any field that is rendered for an anyOf/oneOf schema will be wrapped inside the AnyOfField or OneOfField component. This default behavior may be undesirable if your custom field already handles behavior related to choosing one or more subschemas contained in the anyOf/oneOf schema. By providing a true value for this flag in association with a custom ui:field, the wrapped components will be omitted, so just one instance of the custom field will be rendered. If the flag is omitted or set to false, your custom field will be wrapped by AnyOfField/OneOfField.

    "ui:FieldTemplate"?: ComponentType<
        FieldTemplateProps<TFieldReturnValue, RJSFSchema, any>,
    >
    "ui:filePreview"?: boolean
    "ui:globalOptions"?: GlobalUISchemaOptions

    The set of Globally relevant UI Schema options that are read from the root-level UiSchema and stored in the Registry for use everywhere.

    "ui:help"?: string
    "ui:hideError"?: boolean
    "ui:inline"?: boolean
    "ui:inputType"?: string
    "ui:label"?: boolean
    "ui:ObjectFieldTemplate"?: ComponentType<
        ObjectFieldTemplateProps<TFieldReturnValue, RJSFSchema, any>,
    >
    "ui:options"?: TUiOptions & Partial<
        Omit<
            TemplatesType<TFieldReturnValue, RJSFSchema, any>,
            "ButtonTemplates",
        >,
    > & GlobalUISchemaOptions & {
        autocomplete?: AutoFill;
        autofocus?: boolean;
        classNames?: string;
        description?: string;
        disabled?: boolean;
        emptyValue?: any;
        enumDisabled?: (string | number | boolean)[];
        enumNames?: string[];
        filePreview?: boolean;
        help?: string;
        hideError?: boolean;
        inline?: boolean;
        inputType?: string;
        order?: string[];
        placeholder?: string;
        readonly?: boolean;
        rows?: number;
        style?: StyleHTMLAttributes<any>;
        submitButtonOptions?: UISchemaSubmitButtonOptions;
        title?: string;
        widget?: string | Widget<TFieldReturnValue, RJSFSchema, any>;
    } & {
        [key: string]: | string
        | number
        | boolean
        | object
        | any[]
        | null
        | undefined;
    }

    An object that contains all the potential UI options in a single object

    Type Declaration

    • Optionalautocomplete?: AutoFill

      Use to mark the field as supporting auto complete on a text input or textarea input

    • Optionalautofocus?: boolean

      Flag, if set to true, will mark the field as automatically focused on a text input or textarea input

    • OptionalclassNames?: string

      Any classnames that the user wants to be applied to a field in the ui

    • Optionaldescription?: string

      We know that for description, it will be a string, if it is provided

    • Optionaldisabled?: boolean

      Flag, if set to true, will mark all child widgets from a given field as disabled

    • OptionalemptyValue?: any

      The default value to use when an input for a field is empty

    • OptionalenumDisabled?: (string | number | boolean)[]

      Will disable any of the enum options specified in the array (by value)

    • OptionalenumNames?: string[]

      Allows a user to provide a list of labels for enum values in the schema

    • OptionalfilePreview?: boolean

      Flag, if set to true, will cause the FileWidget to show a preview (with download for non-image files)

    • Optionalhelp?: string

      Used to add text next to a field to guide the end user in filling it in

    • OptionalhideError?: boolean

      Flag, if set to true, will hide the default error display for the given field AND all of its child fields in the hierarchy

    • Optionalinline?: boolean

      Flag, if set to true, will mark a list of checkboxes as displayed all on one line instead of one per row

    • OptionalinputType?: string

      Used to change the input type (for example, tel or email) for an

    • Optionalorder?: string[]

      This property allows you to reorder the properties that are shown for a particular object

    • Optionalplaceholder?: string

      We know that for placeholder, it will be a string, if it is provided

    • Optionalreadonly?: boolean

      Flag, if set to true, will mark all child widgets from a given field as read-only

    • Optionalrows?: number

      Provides a means to set the initial height of a textarea widget

    • Optionalstyle?: StyleHTMLAttributes<any>

      Any custom style that the user wants to apply to a field in the ui, applied on the same element as classNames

    • OptionalsubmitButtonOptions?: UISchemaSubmitButtonOptions

      If submitButtonOptions is provided it should match the UISchemaSubmitButtonOptions type

    • Optionaltitle?: string

      We know that for title, it will be a string, if it is provided

    • Optionalwidget?: string | Widget<TFieldReturnValue, RJSFSchema, any>

      Allows RJSF to override the default widget implementation by specifying either the name of a widget that is used to look up an implementation from the widgets list or an actual one-off widget implementation itself

    • [key: string]: string | number | boolean | object | any[] | null | undefined

      Anything else will be one of these types

    "ui:order"?: string[]
    "ui:orderable"?: boolean
    "ui:placeholder"?: string
    "ui:readonly"?: boolean
    "ui:removable"?: boolean
    "ui:rootFieldId"?: string

    Allows the form to generate a unique prefix for the Form's root prefix

    "ui:rows"?: number
    "ui:style"?: StyleHTMLAttributes<any>
    "ui:submitButtonOptions"?: UISchemaSubmitButtonOptions
    "ui:title"?: string
    "ui:TitleFieldTemplate"?: ComponentType<
        TitleFieldProps<TFieldReturnValue, RJSFSchema, any>,
    >
    "ui:UnsupportedFieldTemplate"?: ComponentType<
        UnsupportedFieldProps<TFieldReturnValue, RJSFSchema, any>,
    >
    "ui:widget"?: string | Widget<TFieldReturnValue, RJSFSchema, any>
    "ui:WrapIfAdditionalTemplate"?: ComponentType<
        WrapIfAdditionalTemplateProps<TFieldReturnValue, RJSFSchema, any>,
    >