Custom reset search icon

Custom reset search icon

ScandellaScandella Posts: 2Questions: 1Answers: 0

I would to customize the color of the little arrow that appears in the search bar when an input is entered.
Unfortunately, it seems that this element does not appear in the DOM.
Thanks for your help.

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 21,443Questions: 26Answers: 4,974
    Answer ✓

    Its a standard HTML search input. See this SO thread for some examples. I put together this example to show how to target the Datatables search input specifically iwth one of the examples from the SO thread:
    https://live.datatables.net/midomako/1/edit

    Note the id #example_filter is comprised of the table id example.

    Kevin

  • ScandellaScandella Posts: 2Questions: 1Answers: 0

    Kevin,
    Thanks for your answer. I was not aware of the "enable the user agent shadow DOM" in the inspector settings! Now I see the element!

Sign In or Register to comment.