Topic: Select option with data attribute

meesha81 priority asked 1 month ago


How to get data-var="xxx" of selected option?

It looks that optionSelected.mdb.select do not provide data attributes from original option.

Or is possible to get it in the optionSelected.mdb.select event? Standard select do this.


Kamila Pieńkowska staff answered 1 month ago


The optionSelected event return only value of the selected option.



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: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 8.0.0
  • Device: PC
  • Browser: Chrome
  • OS: Win11
  • Provided sample code: No
  • Provided link: No