I have been looking at this question and this question and this question and they have all been very helpful in getting rid of the small arrow on a datepicker using:
input[type="date"]::-webkit-calendar-picker-indicator { display: none; }
However, I have multiple date fields in one of my views and I would like to only disable the datepicker arrow for the fields that have a specific class.
I would like to do something like:
input[class="buttonOnly"]::-webkit-calendar-picker-indicator { display: none; }
But it does not seem to be working. I'm hoping this is a simple syntax issue but I can't seem to find any examples. Is something like this frowned upon or am I just missing something?