fix(attributes-to-props): don't convert value of option tag#790
fix(attributes-to-props): don't convert value of option tag#790remarkablemark merged 6 commits intoremarkablemark:masterfrom
Conversation
remarkablemark
left a comment
There was a problem hiding this comment.
Looks good overall, left some comments
|
@adammockor You'll also need to update npm run size-limit |
|
Thank you for review. About the API, I am not sure how to approach it. I made second parameter |
remarkablemark
left a comment
There was a problem hiding this comment.
Thanks for addressing my previous comments. I've left 2 more comments.
I think the 2nd parameter is fine since it's optional and backwards compatible. Thanks for opening this PR! |
Codecov Report
@@ Coverage Diff @@
## master #790 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 8 8
Lines 171 172 +1
Branches 57 58 +1
=========================================
+ Hits 171 172 +1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
What is the motivation for this pull request?
Fixes #625 and closes ##628. Not sure if there is another element affected with this issue then
option.What is the current behavior?
attributesToPropsconvertsvalueattribute todefaultValueofoptionelement what is not desirable.What is the new behavior?
valueattribute is preserved onoptionelement.Checklist: