-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
TimeField: Warning: Prop autoCapitalize
did not match. Server: "none" Client: "off"
#5599
Comments
This is happening here: react-spectrum/packages/@react-spectrum/datepicker/src/DatePickerSegment.tsx Lines 54 to 57 in 8ad0c43
but I'm not sure why it would be |
I believe it should be set to none, went all around the web looking for answers. Latest doc I could find: https://developer.apple.com/documentation/uikit/uitextautocapitalizationtype
Additional resources: Although, now I'm even more confused:
I don't even think the prop should exist on a Time Field, with numeric inputs, autocapitalisation doesn't do anything anyway |
Provide a general summary of the issue here
In NextJS, TimeField is having an issue with autoCapitalize.
This then leads to Error: Text content does not match server-rendered HTML.
🤔 Expected Behavior?
autoCapitalize isn't even a prop for TimeField so unsure how this is occuring?
😯 Current Behavior
💁 Possible Solution
No response
🔦 Context
No response
🖥️ Steps to Reproduce
codesandbox link
Version
3.32.2
What browsers are you seeing the problem on?
Firefox
If other, please specify.
No response
What operating system are you using?
Mac
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response
The text was updated successfully, but these errors were encountered: