DEV Community

Borko Arsovic 🚀
Borko Arsovic 🚀

Posted on

2

Feature or bug

Hello,
today at work I had a strange situation with javascript. I had two input fields with a checkbox type, and both have an attribute ng-change with a different method.One method is called only when checkbox is checked, while the other method calls for each change of check box.

Has anyone had similar experiences? ☺

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more