dxDateBox - Value is out of range when first time option is selected

Discussão em 'Angular' iniciado por pycxu, Fevereiro 26, 2025.

  1. pycxu

    pycxu Guest

    <dx-date-box
    useMaskBehavior="true"
    [min]="now"
    [max]="generalMaxDate"
    type="time"
    ></dx-date-box>


    now: Date = new Date();
    generalMaxDate: Date = new Date('3000-01-01');


    When first time option (min time) is selected, the date box displays Value is out of range [​IMG] [​IMG] Is this a bug or the min value is not inclusive?

    This can be reproduced with the latest demo: https://js.devexpress.com/Angular/Demos/WidgetsGallery/Demo/DateBox/Overview/MaterialBlueLight/

    I have also added a sample here with a older version: https://codesandbox.io/p/sandbox/distracted-paper-dw9fjr

    Continue reading...

Compartilhe esta Página