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're not sure if this is the intended behavior: an input with label and placeholder that is marked as required and empty will never be styled as invalid because the invalid rule is restricted to :not(:placeholder-shown). We would argue that placeholders are intended to indicate what should be entered into a field and not that the field is optional.
The text was updated successfully, but these errors were encountered:
You're right – it's a bad workaround until we get :user-invalid soon. At least the error message would still get displayed, but not the color for this constellation. I'll keep this ticket open so that we could use it as a reminder for :user-invalid.
We're not sure if this is the intended behavior: an input with label and placeholder that is marked as required and empty will never be styled as invalid because the invalid rule is restricted to
:not(:placeholder-shown)
. We would argue that placeholders are intended to indicate what should be entered into a field and not that the field is optional.The text was updated successfully, but these errors were encountered: