-
-
Notifications
You must be signed in to change notification settings - Fork 211
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
inputMode attribute is set as inputmode
#1487
Labels
bug
Something isn't working
Comments
I believe the issue is within this file. It should be correct to replace |
capricorn86
added a commit
that referenced
this issue
Aug 29, 2024
…MLInputElement and HTMLTextAreaElement
capricorn86
added a commit
that referenced
this issue
Aug 29, 2024
capricorn86
added a commit
that referenced
this issue
Aug 29, 2024
Thank you for reporting @cluk3! 🙂 It has been fixed now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm testing wether an element has inputMode set to
none
given a specific condition. When I runexpect(input.inputMode).toBe('none');
the test fail cause inputMode is undefined but it does not fail if I writeexpect(input!.inputmode).toBe('none');
(noticeinputmode
all lower case).This doesn't happen with jsdom (
expect(input.inputMode).toBe('none')
doesn't fail ).Notice that also typescript is complaining when writing
inputmode
cause he is expecting the property to be calledinputMode
.To Reproduce
expect(input.inputMode).toBe('none');
Expected behavior
The test should not fail as inputMode should be set to "none"
Device:
The text was updated successfully, but these errors were encountered: