Topic: is there a way to only show the value of the option when db-select multi?

bbkim0921 free asked 4 years ago


**Expected behavior**when using multi mdb-select, i like to show only the value of options not the text value. **Actual behavior**it is showing text value**Resources (screenshots, code snippets etc.)**


Krzysztof Wilk staff answered 4 years ago


Hi!

Did you try to convert the type of receiving value using parseInt(variable)?

Best regards


bbkim0921 free commented 4 years ago

Can you give me an example?


Krzysztof Wilk staff commented 4 years ago

Certainly, you can check it here: https://mdbootstrap.com/snippets/jquery/krzysztof-wilk/2362801

(The value shows in the console)



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 jQuery
  • MDB Version: 4.19.1
  • Device: Dell XPS
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No