-
Notifications
You must be signed in to change notification settings - Fork 668
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
feat: use setValue() on select element #837
feat: use setValue() on select element #837
Conversation
VictorCazanave
commented
Jul 20, 2018
•
edited
Loading
edited
- Resolve Feature: setSelected() with value or setValue() on select #775
- Add error message when calling setValue() on option element
- Fix typo on contributing guide.
packages/test-utils/src/wrapper.js
Outdated
throwError( | ||
`wrapper.setValue() cannot be called on a <select> ` + | ||
`wrapper.setValue() cannot be called on a <option> ` + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you change a
to an
—cannot be called on an <option>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, just one tiny grammatical change and I'll merge 👍
Thanks! It's fixed 👌 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks 👍