-
-
Notifications
You must be signed in to change notification settings - Fork 634
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
Select VNode - add support selectedIndex property #1425
Conversation
I am working on unit tests |
595dfa7
to
0a31eb8
Compare
Done! |
@Havunen Please, take a look |
|
||
it('Should strict render select if value set', () => { | ||
render( | ||
<select selectedIndex={3} value={'3'}> |
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.
What about a case where selectedIndex is different than value? Who wins?
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 add test case with expected result so its thought use case then
Did you check if selectedIndex need to be added to typings? |
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 add the test & check typescript
Lets merge this @anthony-redFox , Thanks for PR! I will do some testing and small cleaning! |
Before submitting a PR please:
npm run build
and check that the build succeeds.PR Template
Objective
This PR...
Closes Issue
It closes Issue #...