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 EbayListboxButton console warning #252

Merged
merged 3 commits into from
Oct 19, 2023
Merged

Fix EbayListboxButton console warning #252

merged 3 commits into from
Oct 19, 2023

Conversation

rglombov
Copy link
Contributor

@rglombov rglombov commented Oct 3, 2023

This is a suggestion on a better way of fixing the warning problem with the hidden controlled select.

Another solution is just to have the onChange with a function that does nothing, but I'd say it's better to just keep the same behaviour as the main select.

…e visible select. It fixes a warning when using 'value' without an onChange prop for a controlled component.
@darkwebdev
Copy link
Collaborator

Thanks for the PR @rglombovsky-ebay . Do you mean this warning?
image

@rglombov
Copy link
Contributor Author

@darkwebdev Yes indeed!

@darkwebdev darkwebdev merged commit 0903756 into eBay:main Oct 19, 2023
5 of 6 checks passed
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