-
Notifications
You must be signed in to change notification settings - Fork 83
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: improve readonly invalid input container styles #7204
Conversation
@@ -35,6 +35,12 @@ describe('input-container', () => { | |||
await visualDiff(div, 'invalid'); | |||
}); | |||
|
|||
it('readonly invalid', async () => { | |||
element.readonly = true; | |||
element.invalid = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix 👍 would it make sense to add text in the field to ensure that it's readable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, probably. We don't have visual tests for regular readonly
with value
. Created an issue: #7207
This ticket/PR has been released with Vaadin 24.4.0.alpha15 and is also targeting the upcoming stable 24.4.0 version. |
Description
Fixes #1196 by applying workaround from #1196 (comment).
Note: when removing
readonly
there is a short flash. This is a separate issue not specific to invalid state.Type of change