what browser are you using because it is working for me both in IE and 
chrome.


On Monday, November 14, 2016 at 7:59:04 AM UTC-8, Brent Theunckens wrote:
>
>
> down votefavorite 
> <http://stackoverflow.com/questions/40588088/checkbox-in-accordion-header#>
>
> I'm having problems with checkboxes inside an accordion header.
>
> *Purpose:*
>
> The checkbox in the header is an indicator if that section is being used.
>
> *User actions:*
>
> So whenever someone checks the checkbox the section should open and the 
> value of the checkbox should be true.
>
> Another option to get the checkbox to true is by click on the header(div) 
> so then it also should open and set the value to true.
>
> *Problem:*
>
> The problem I am having is that when someone opens the accordion group by 
> clicking on the header(div) it works correctly but whenever I uncheck the 
> checkbox it doesn't close the tab.
>
> *Plunker:*
>
> Here is the code I am using.
>
> Plunker: http://plnkr.co/edit/CyM6d8Or75SqRGavTYyI?p=preview
>
> I think it has to do with $event.stopPropagation() because it blocks the 
> DOM to change. So my guess is that's why it isn't closing to section.
>
> Does anyone know what I am doing wrong or have another workaround the 
> $event.stopPropagation()?
>
> Thanks!
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular" 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