1

I will assign the datalist to the text box, it is working but I want to remove the right side arrow mark.

<input type="text" list="categoryList" name="category">

<datalist id="categoryList">
    <option value="entertainment">
    <option value="education">
    <option value="photography">
    <option value="sports">
</datalist>

enter image description here

http://jsfiddle.net/utrfectL

selva
  • 53
  • 10
  • it's as limited as, or more than, the `select` element, so I don't think you can. http://stackoverflow.com/questions/13693482/is-there-a-way-to-apply-a-css-style-on-html5-datalist-options – ps2goat Aug 28 '14 at 03:56

1 Answers1

3
input::-webkit-calendar-picker-indicator {
  display: none;
} 

CSS seems to do it.

From tests it looks like the arrow is only added by webkit browsers (does not appear either way in Firefox or IE) so that should be all you have to do.

JSfiddle

Jake
  • 1,207
  • 2
  • 28
  • 46