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
We are currently implementing the invalid styling for picker button with a class associated with the parent component, so in the case of an invalid combo box the HTML is:
This works, but there's another inconsistency. I came across re: the styling of the textfield and the picker button when focusing the combobox. I just haven't been able to articulate it yet. I can make another issue when the time comes, though! Thanks for pinging me.
Description
The CSS for the picker button doesn't seem to have any styling specification for an
invalid
state. While Spectrum doesn't document this usage specifically for a picker button, I would wager that aninvalid
picker styling also begets aninvalid
style for the picker button, too, for components like Combobox or a Date Picker.Steps to reproduce
<sp-picker-button>
has theinvalid
attribute, the styling is the same as it would be by default.Expected behavior
The picker button should have a red border when it's
invalid
:image from spectrum contributions
Image from Spectrum CSS Combobox documentation. Here, the picker button has a class of
Combobox-button
.Screenshots
from @paulodetarsofm
Environment
Additional context
The text was updated successfully, but these errors were encountered: