MudTextField with InputType="Date" displays Safari's placeholder date incorrectly
Author: Sniper0141Created Nov 1, 2024Updated Sep 16, 2026
Labelsbugneeds: infobrowser: safaristale
Things to check
- I have searched the existing issues for this bug
- To rule out a caching problem I made sure the bug also happens in an incognito tab
Bug type
Component
Component name
MudTextField
What happened?
The MudTextField component with InputType="Date" displays Safari's placeholder date with normal Color (black), and it looks like it's actually a value, which is very confusing to the user.
The bug can also be replicated by visiting the docs, scrolling down to the date and
Expected behavior
The placeholder-date should be displayed grey, just like in dark-mode.
Reproduction link
https://try.mudblazor.com/snippet/QEQIblObRWfgxchb
Reproduction steps
- Open snippet in Safari
- Klick the button to switch themes
- observe
Relevant log output
No response
Version (bug)
6.21.0
Version (working)
No response
What browsers are you seeing the problem on?
Safari
On which operating systems are you experiencing the issue?
macOS
Pull Request
- I would like to do a Pull Request
Code of Conduct
- I agree to follow this project's Code of Conduct
Source: MudBlazor/MudBlazor