Bootstrap search filter clear feature not working

Bootstrap search filter clear feature not working

stumpifastumpifa Posts: 2Questions: 1Answers: 0
edited September 2014 in Bug reports

In the Bootstrap styled version of DataTables the search filter does not display an 'X' for clearing the input. The other style variations of DataTables display the 'X' for clearing the input. I'm trying to determine if this is this an issue directly related to how Bootstrap styles input fields?

I noticed this on a table I was producing but also found the issue with the example versions of tables found here:
https://datatables.net/examples/styling/bootstrap.html ( no 'x' for clearing input )

The other style variations have the ability to clear the search filter input
https://datatables.net/examples/styling/foundation.html

Thank you for any help!

(moved to Bug-Reports)

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,726Questions: 1Answers: 10,109 Site admin
    Answer ✓

    I'm trying to determine if this is this an issue directly related to how Bootstrap styles input fields?

    Yes.

    Bootstrap adds -webkit-appearance: textfield among other styles which overrides the default type="search" input styling.

    You would need to take this up with the Bootstrap folks.

    Allan

  • stumpifastumpifa Posts: 2Questions: 1Answers: 0

    Thanks!

This discussion has been closed.