Hello everybody,

    A weird problem came into existance in my project without being 
noticed. Both plain HTML checkboxes and Material ones become uncheckable. 
They are still clickable and handlers attached to the (click) event are 
being invoked, but the checkboxes themselves never get ticked (so is the 
boud value - never changed to true). When I put a breakpoint inside a click 
event the tick appears inside the checkbox, but as soon as the event 
handler returns the tick disapears (this is for the plain checkbox, the 
material one gets a transparent circle (part of the animation) around it). 
It seems to me that there is some code which globally grabs every single 
checkbox in the page. I tried putting checkboxes in different routes (which 
translates to different modules, as I use lazy loading of modules). Even 
put a pair in the login page, which though still an Angular component, is 
pretty isolated from the rest of the code and the checkboxes were still 
uncheckable. I tried chasing the offending code backwards with DOM 
breakpoints for attribute modifications, but there is a lot of code and I 
find myself lost.
    I don't have any custom code which grabs checkboxes exclusively and 
discard/revert their (change) event handler. Nor do I know of any 3rd party 
module in the project which would do it. Other input elements are 
unaffected.
    Unfortunately I can't provide a Plunker as the problem resides in a 
project, whose license doesn't allow me to upload it in the public domain. 
Nor do I know which part causes the problem to extract it. I know that this 
decreases the chance of finding an answer to my question, but I'm hoping 
that if someone had experienced and solved that would see this topic

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to