Topic: mdb-select does not work

Milian pro asked 5 years ago


v-for does not work for me with mdb-select: <mdb-select @getValue="getSelectValue"> <option v-for="option in options" :value="option">{{option}}</option> </mdb-select> Version from npm: "mdbvue": "git+https://oauth2:***@git.mdbootstrap.com/mdb/vue/vu-pro.git/"

Jakub Mandra staff answered 5 years ago


Hello,

<option> does not accept value as bind property here.
We are still working on int.

But you can use <span>, <p> or <div> instead of <option>, it will work totally fine.

Best regards,
Jakub from MDB



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: Pro
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags