Open skiedrowski opened 2 years ago
Part of the issue has been fixed by https://github.com/vaadin/web-components/pull/3398. Clicking on the calendar icon works when it is inside a GridPro
element. Note that this issue was also present on DatePicker
.
About the formats date issue, I can confirm it, but I haven't been able to figure out what is causing it yet. Unlike the calendar icon issue, this one only happens with DateTimePicker
. The DatePicker
for Flow uses custom formatDate
/parseDate
function that are set up by the connector when the element is created. I could verify that on the moment the element is created on the client side (but before it is attached to the GridPro), the custom functions are correctly added. But, when the user edits the cell (which effectively attaches the DTP
to the GridPro
), the functions are changed back to their original versions coming from the web component. I couldn't find what is causing this issue yet.
Confirmed: Fix for blur behavior works with Vaadin 23.0.5.
The buggy formatting is still present.
Description
A
DateTimePicker
within a GridPro cellLocale.GERMANY
) by default (which works with aDateTimePicker
outside aGridPro
cell)With regard to these two behaviors,
DateTimePicker
behaves better when used outside a grid:Expected outcome
Behavior of
DateTimePicker
inGridPro
as least as good as with Vaadin 21.GridPro
cell opens when calendar icon is clickedDateTimePicker
inGridPro
cell)Actual outcome
GridPro
cell does not open when calendar icon is clickedDateTimePicker
inGridPro
cell)Live Demo (optional)
Minimal reproducible example
Helper classes (
Book
) taken from Book "Practical Vaadin" by Alejandro Duarte, chapter 6. They should be self-explanatory.Steps to reproduce
Environment
Browsers Affected
did not check others