Topic: Angular Pro Checkbox does not response to click

heath.frankel free asked 6 years ago


Check-box is not changing value on click. Please find attached sample (i've removed ng-uikit-pro-standard-6.2.1.tgz from the lib folder so change package.json accordingly) https://drive.google.com/file/d/1A4s3dZbXbf2BhqVGhNjwkEBUyMMqlNRH/view?usp=sharing   Note that value is being set via binding without problem.

Arkadiusz Idzikowski staff answered 6 years ago


Dear heath.frankel, There is second 'for' attribute in your label that doesn't match the input id. Remove it and it should work fine. Best, Arek

heath.frankel free commented 6 years ago

Worked! thanks.


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 Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags