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
Clearing the value in a value-changed event listener should work as expected
value-changed
it('should clear the value', done => { comboBox.items = ['bar']; comboBox.opened = true; const item = comboBox.$.overlay._selector.querySelector('vaadin-combo-box-item'); comboBox.addEventListener('value-changed', () => { if (comboBox.value) { comboBox.value = ''; setTimeout(() => { expect(item.selected).to.be.false; expect(comboBox.hasAttribute('has-value')).to.be.false; done(); }); } }); item.click(); });
The text was updated successfully, but these errors were encountered:
fix: allow changing value in value-changed listener
3b06e5d
fix #651 The else-if added at line 885 prevents duplicate events.
3d475c1
ea446a0
fix #651 The else-if added at line 886 prevents duplicate events.
10432a7
fix: allow changing value in value-changed listener (#810)
a4e06d8
pekam
Successfully merging a pull request may close this issue.
Clearing the value in a
value-changed
event listener should work as expectedThe text was updated successfully, but these errors were encountered: