We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overlay-based field components, such as DatePicker, TimePicker, ComboBox, behave differently on programmatic blur when their overlay is open.
All these component should commit user input and close the overlay on programmatic blur in both scenarios.
<vaadin-date-picker label="DatePicker"></vaadin-date-picker> <vaadin-time-picker label="TimePicker"></vaadin-time-picker> <vaadin-combo-box label="ComboBox"></vaadin-combo-box> <script type="module"> import '@vaadin/date-picker'; import '@vaadin/time-picker'; import '@vaadin/combo-box'; const datePicker = document.querySelector('vaadin-date-picker'); datePicker.addEventListener('change', (event) => { console.log('DatePicker change', event.target.value); }); const timePicker = document.querySelector('vaadin-time-picker'); timePicker.addEventListener('change', (event) => { console.log('TimePicker change', event.target.value); }); const comboBox = document.querySelector('vaadin-combo-box'); comboBox.items = ['Item 1', 'Item 2']; comboBox.addEventListener('change', (event) => { console.log('ComboBox change', event.target.value); }); setTimeout(() => { datePicker.blur(); timePicker.blur(); comboBox.blur(); }, 6000); </script>
Vaadin version(s): 24.4 and earlier OS: Mac OS
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Overlay-based field components, such as DatePicker, TimePicker, ComboBox, behave differently on programmatic blur when their overlay is open.
Scenario 1
Scenario 2
Expected outcome
All these component should commit user input and close the overlay on programmatic blur in both scenarios.
Minimal reproducible example
Environment
Vaadin version(s): 24.4 and earlier
OS: Mac OS
Browsers
No response
The text was updated successfully, but these errors were encountered: