bryntum / support

An issues-only repository for the Bryntum project management component suite which includes powerful Grid, Scheduler, Calendar, Kanban Task Board and Gantt chart components all built in pure JS / CSS / TypeScript
https://www.bryntum.com
53 stars 6 forks source link

Inconsistent style in taskEdit for calendar input field in material theme #9550

Open ghulamghousdev opened 1 month ago

ghulamghousdev commented 1 month ago

Issue is reproducible here: https://bryntum.com/products/gantt/examples/rollups/

https://github.com/bryntum/support/assets/52177956/f4434688-a707-4af0-b609-8ce58f61ea2e

ExtAnimal commented 1 month ago

CalendarField.js needs

    get isEmpty() {
        return false;
   }

In Material theme, the label moves into the field when the field isEmpty, and not focused.

The displayValueRenderer shows "Default calendar" in the input field when it's empty, so the isEmpty property should yield false. The value is the default calendar.