Topic: mdbSwitch doesn't seems to work

digitalmanagerguru free asked 4 years ago


Expected behavior

When switching between Off/On I was expecting to see on the vue debug the computed toggle to switch between false/true, but it doesn't switch at all.

Actual behavior

The switch isn't working, the computed toogle always stick with false

Resources (screenshots, code snippets etc.)

https://i.imgur.com/16dQ9xI.png

PS: It would make more sense too if the onLabel and OffLabel were called instead: labelRight and labelLeft respectively. As you did, and well, in React: https://mdbootstrap.com/docs/react/forms/switch/

EDIT: I've used the getValue, and it seems to be working, the strange thing is that the vuetools doesnt show the computed toggle to swtich between true/false, when it seems to be switching.


Mikołaj Smoleński staff answered 4 years ago


Hi there,

Thanks for reporting about that issue. It's not working correctly and we're going to fix it as soon as possible. It's on the top of our priority list.

Best regards



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 6.2.0
  • Device: Desktop
  • Browser: Chrome
  • OS: Win.10
  • Provided sample code: No
  • Provided link: Yes