Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: mdb select multiple

jcarvalho priority asked 4 months ago


in the select dropdown multiple values, for example, both options are selected
test-1
test-2

On multiselect in Jaascript , the below code returns only one value instead of 2 values. $('#relationships').val()


Grzegorz Bujański staff answered 4 months ago


I checked it and it looks like the value is returned correctly: https://mdbootstrap.com/snippets/standard/grzegorz-bujanski/6198880#html-tab-view

Can you create a snippet with an example where this doesn't work correctly?



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 7.1.0
  • Device: mac
  • Browser: google chrome
  • OS: Mac Os
  • Provided sample code: No
  • Provided link: No