Preparing search index...

    Свойства компонента FieldDatePicker

    interface FieldDatePickerProps {
        additionalDateTemplates?: DatePickerDateTemplate[];
        allowClear?: boolean;
        "data-qaid"?: string;
        defaultValue?: string;
        disabled: boolean;
        disabledDate?: (date: Universe.Vendor.Moment.Moment) => boolean;
        error?: any;
        errorDateMessage: string;
        errorTimeMessage: string;
        hasLeaderDots?: boolean;
        hint?: ReactNode;
        i18nLocale: string;
        inputWidth?: number;
        isMultiLine?: boolean;
        isRequired?: boolean;
        isUtc?: boolean;
        isWide?: boolean;
        label?: ReactNode;
        labelWidth?: number;
        name?: string;
        onChange: (name: string, value: string) => void;
        placeholder?: string;
        prefix?: ReactNode;
        readOnly: boolean;
        rightExtraItems?: ReactNode;
        sublabel?: string;
        suffix?: any;
        timePlaceholder?: string;
        type: "dateTime" | "date";
        value?: string;
        valueFormat: string;
        viewFormat: string;
        viewMode?: FIELD_MODE;
    }

    Hierarchy (View Summary)

    Index

    Properties

    additionalDateTemplates?: DatePickerDateTemplate[]

    Дополнительные шаблоны даты

    allowClear?: boolean

    Включить кнопку отчистки

    "data-qaid"?: string
    defaultValue?: string

    Значение даты по умолчанию

    disabled: boolean

    Флаг отключения поля

    disabledDate?: (date: Universe.Vendor.Moment.Moment) => boolean

    Отключать ли дату

    Type declaration

    error?: any

    Текст ошибки

    errorDateMessage: string

    Ошибка поля даты

    errorTimeMessage: string

    Ошибка поля времени

    hasLeaderDots?: boolean

    Есть ли направляющие точки от лейбла к полю

    hint?: ReactNode

    Подсказка

    i18nLocale: string

    Текущая локаль

    inputWidth?: number

    Ширина поля

    isMultiLine?: boolean
    isRequired?: boolean

    Является ли поле обязательным к заполнению

    isUtc?: boolean

    Включить UTC формат

    isWide?: boolean

    На всю ширину контейнера

    label?: ReactNode

    Лейбл

    labelWidth?: number

    Ширина лейбла

    name?: string

    Имя поля

    onChange: (name: string, value: string) => void

    Событие изменения даты

    Type declaration

      • (name: string, value: string): void
      • Parameters

        • name: string

          Имя поля

        • value: string

          Значение поля

        Returns void

    placeholder?: string

    Плейсхолдер поля

    prefix?: ReactNode

    Префикс поля

    readOnly: boolean

    Флаг режима только для чтения

    rightExtraItems?: ReactNode

    Дополнительные элементы справа

    sublabel?: string

    Дополнительный текст лейбла

    suffix?: any

    Суффикс поля

    timePlaceholder?: string

    Плейсхолдер поля времени

    type: "dateTime" | "date"

    Тип отображения даты

    value?: string

    Значение даты

    valueFormat: string

    Формат значения даты

    viewFormat: string

    Формат отображениядаты

    viewMode?: FIELD_MODE

    Тип отображения поля