Skip to content
New issue

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

fix: ensure no multiple hasInputValue changes on clear button click #1046

Merged
merged 5 commits into from
May 17, 2023

Conversation

mukherjeesudebi
Copy link
Contributor

@vursen vursen changed the title fix: ensure combo-box’s clear button clicks don’t result in multiple hasInputValue changes fix: ensure no multiple hasInputValue changes on clear button click May 16, 2023
expect(comboBox.value).to.eql('other value');

comboBox.focus();
setInputValue('item 12');
Copy link
Contributor

@vursen vursen May 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: It's incorrect to set an input value without dispatching an input event. If we change it to dispatch the input event, it starts failing. Ultimately, we decided to remove it.

@vursen vursen merged commit 38a5a13 into master May 17, 2023
@vursen vursen deleted the ensure-no-multiple-hasInputValue-changes branch May 17, 2023 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants