support icon indicating copy to clipboard operation
support copied to clipboard

Set `endDate` max limit ignores in `TaskEditor`

Open chuckn0rris opened this issue 5 months ago • 0 comments

    listeners : {
        beforeTaskEditShow({ taskRecord, editor }) {
            const endDateField = editor.widgetMap.endDate;
                
             endDateField.max = new Date('2025-02-02');

        }
    }

Forum post

Hello!

Reaching out because we're trying to dynamically set the max enddate for a specific set of dates. We're using an endDateField (we have no trouble setting a max on the startDateField). But it seems to always be overridden by the default max date (200 years out), whereas we need it to be 10 days out from todays date. Within the beforeCellEditStart listener, we've tried setting column.editor.max, column.max, editor.picker.maxDate and so far nothing. Any ideas where we may be going wrong?

Thanks!

chuckn0rris avatar Sep 25 '24 18:09 chuckn0rris