The situation at hand is quite straightforward.
<input type="date />
When viewed on Firefox (both desktop and mobile), it appears as follows:
https://i.stack.imgur.com/S2i0s.png
While the internet provides a solution specifically for Chrome:
input {
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
}
input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-calendar-picker-indicator {
display: none;
-webkit-appearance: none;
}
This method does effectively conceal the calendar icon in Chrome, but proves unsuccessful on Firefox. Despite various attempts, I have yet to find a workaround that works on Firefox. The question remains whether such a solution is feasible. My goal is to hide the calendar icon. I understand that on desktop, clicking the calendar icon is necessary to access the date picker. However, this is not an issue for my mobile application.