You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using placeholder on SfSelect component I receive an error in the console that says I should not use selected attribute on the select element. I discovered the bug in React, but I think it applies to Vue as well.
Expected behavior
No errors in the console. According to the error message, placeholder should use defaultValue or value on the select element.
Describe the Bug
When using
placeholder
on SfSelect component I receive an error in the console that says I should not useselected
attribute on the select element. I discovered the bug in React, but I think it applies to Vue as well.Expected behavior
No errors in the console. According to the error message, placeholder should use
defaultValue
orvalue
on the select element.Steps to reproduce
SfSelect
with anyplaceholder
I'm currently using SFUI v2.2.0, but I can still see this on the v2 master branch. https://github.com/vuestorefront/storefront-ui/blob/v2-develop/packages/sfui/frameworks/react/components/SfSelect/SfSelect.tsx#L67
SFUI version
2.2.0
Framework
React, Next 13
Node version
20
Browser
Brave, Chrome
OS
macOS
Relevant log output
No response
Able to fix / change the documentation?
Code of Conduct
The text was updated successfully, but these errors were encountered: