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

Placeholder should not be visible after selecting an item in combo with no label #10006

Closed ghulamghousdev closed 2 weeks ago

ghulamghousdev commented 2 weeks ago

Forum post

When adding a placeholder config in combo, the placeholder text is present even when input is not empty. Following link shows the issue mentioned: https://codepen.io/rajaa-aamir98/pen/gONExjO?editors=1010

Is there a way to change a placeholders contents on page refresh in a combo field or is there any solution for the above issue?

Just need to add this rule in combo.scss:

.b-combo.b-uses-chipview:not(.b-empty) input::placeholder {
    visibility: hidden;
}