Topic: mdb-checkbox displaying but not working on click.
I have MDB PRO imported in my angular app and other pro components are working properly but mdb-checkbox is displaying correct but when I click the checkbox it doesn't change.
I can set it via html with [checked] = true and it changes but the click button doesn't work, and I don't have any click eventListener or any function affecting checkboxes.
It looks like there is a problem with
id input. Please update your code to:
<div class="col-md-6"> <div class="md-form"> <label class="active" for="chk">xxx?</label> <mdb-checkbox [id]="'chk'">xxx</mdb-checkbox> </div> </div>
Hire our experts to help you design or build a dedicated project.VIEW SERVICES
- User: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: 10.1.1
- Device: Desktop
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: No