Topic: Datatable search - should not search by non-visible content - e.g. href attribute

Stokmanis free asked 2 years ago


Expected behavior Using datatable search feature will filter the rows only by visible content

Actual behavior datatable search also includes the href attribute of the a element

Resources (screenshots, code snippets etc.) Example datatable contains the hyperlink /abc, but visible text is only Hello. So searching abc should not show the row Hello

https://mdbootstrap.com/snippets/standard/stokmanis/3903579

enter image description here


Michał Duszak staff answered 2 years ago


Hello, thank you for your feedback. We will fix this as soon as we can.


Stokmanis free commented 1 year ago

Michał, any estimates, when this could be fixed?


Kamila Pieńkowska staff commented 1 year ago

It was fixed in version 4.2.0. https://mdbootstrap.com/docs/standard/getting-started/changelog/

Updated snippet: https://mdbootstrap.com/snippets/standard/kpienkowska/4085323



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 4.0.0
  • Device: laptop
  • Browser: chrome
  • OS: windows 10
  • Provided sample code: No
  • Provided link: Yes