materialDateControlUiSchemaOptionsSchema: {
    properties: {
        actions: {
            description: "Available actions in the action bar";
            items: { enum: readonly ["clear", "cancel", "accept"]; type: "string" };
            type: "array";
        };
        cancelLabel: { description: "Label for cancel button"; type: "string" };
        clearLabel: { description: "Label for clear button"; type: "string" };
        dateFormat: {
            description: "Format of the date when rendered in the input";
            type: "string";
        };
        dateSaveFormat: {
            description: "Format used for saving the date value";
            type: "string";
        };
        disableFuture: { description: "Disable future dates"; type: "boolean" };
        disablePast: { description: "Disable past dates"; type: "boolean" };
        displayWeekNumber: {
            description: "Display week numbers in the calendar";
            type: "boolean";
        };
        focus: { description: "Auto focus the input field"; type: "boolean" };
        hideRequiredAsterisk: {
            description: "Hide the required asterisk";
            type: "boolean";
        };
        hideToolbar: { description: "Hide the toolbar"; type: "boolean" };
        maxDate: {
            anyOf: readonly [
                { format: "date"; type: "string" },
                { type: "number" },
            ];
            description: "Maximum selectable date (YYYY-MM-DD format or timestamp)";
        };
        minDate: {
            anyOf: readonly [
                { format: "date"; type: "string" },
                { type: "number" },
            ];
            description: "Minimum selectable date (YYYY-MM-DD format or timestamp)";
        };
        monthsPerRow: {
            description: "Months rendered per row";
            enum: readonly [3, 4];
            type: "number";
        };
        okLabel: { description: "Label for ok button"; type: "string" };
        openTo: {
            description: "The default visible view";
            enum: readonly ["day", "month", "year"];
            type: "string";
        };
        orientation: {
            description: "Force rendering in particular orientation";
            enum: readonly ["landscape", "portrait"];
            type: "string";
        };
        reduceAnimations: {
            description: "Disable heavy animations";
            type: "boolean";
        };
        showDaysOutsideCurrentMonth: {
            description: "Show days outside the current month";
            type: "boolean";
        };
        showUnfocusedDescription: {
            description: "Show description when field is not focused";
            type: "boolean";
        };
        trim: { description: "Trim the input field width"; type: "boolean" };
        views: {
            description: "Available views for the date picker";
            items: { enum: readonly ["day", "month", "year"]; type: "string" };
            type: "array";
        };
        yearsPerRow: {
            description: "Years rendered per row";
            enum: readonly [3, 4];
            type: "number";
        };
    };
    type: "object";
} = ...

Type declaration

  • Readonlyproperties: {
        actions: {
            description: "Available actions in the action bar";
            items: { enum: readonly ["clear", "cancel", "accept"]; type: "string" };
            type: "array";
        };
        cancelLabel: { description: "Label for cancel button"; type: "string" };
        clearLabel: { description: "Label for clear button"; type: "string" };
        dateFormat: {
            description: "Format of the date when rendered in the input";
            type: "string";
        };
        dateSaveFormat: {
            description: "Format used for saving the date value";
            type: "string";
        };
        disableFuture: { description: "Disable future dates"; type: "boolean" };
        disablePast: { description: "Disable past dates"; type: "boolean" };
        displayWeekNumber: {
            description: "Display week numbers in the calendar";
            type: "boolean";
        };
        focus: { description: "Auto focus the input field"; type: "boolean" };
        hideRequiredAsterisk: {
            description: "Hide the required asterisk";
            type: "boolean";
        };
        hideToolbar: { description: "Hide the toolbar"; type: "boolean" };
        maxDate: {
            anyOf: readonly [
                { format: "date"; type: "string" },
                { type: "number" },
            ];
            description: "Maximum selectable date (YYYY-MM-DD format or timestamp)";
        };
        minDate: {
            anyOf: readonly [
                { format: "date"; type: "string" },
                { type: "number" },
            ];
            description: "Minimum selectable date (YYYY-MM-DD format or timestamp)";
        };
        monthsPerRow: {
            description: "Months rendered per row";
            enum: readonly [3, 4];
            type: "number";
        };
        okLabel: { description: "Label for ok button"; type: "string" };
        openTo: {
            description: "The default visible view";
            enum: readonly ["day", "month", "year"];
            type: "string";
        };
        orientation: {
            description: "Force rendering in particular orientation";
            enum: readonly ["landscape", "portrait"];
            type: "string";
        };
        reduceAnimations: {
            description: "Disable heavy animations";
            type: "boolean";
        };
        showDaysOutsideCurrentMonth: {
            description: "Show days outside the current month";
            type: "boolean";
        };
        showUnfocusedDescription: {
            description: "Show description when field is not focused";
            type: "boolean";
        };
        trim: { description: "Trim the input field width"; type: "boolean" };
        views: {
            description: "Available views for the date picker";
            items: { enum: readonly ["day", "month", "year"]; type: "string" };
            type: "array";
        };
        yearsPerRow: {
            description: "Years rendered per row";
            enum: readonly [3, 4];
            type: "number";
        };
    }
  • Readonlytype: "object"