You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 29, 2019. It is now read-only.
If I have a group of radio button with tooltips, the buttons show inactive until they are clicked, but when another button of the group is clicked, the originally active button does not go inactive.
Okay, there are two issues here: (1) tooltip positioning, which will be solved with #139; and (2) the active selection.
The problem with (2) is that the tooltip creates a child scope on that element and your ngModel doesn't contain a "." - that is, it's a primitive that just gets overwritten when changed on a child scope. If you use a non-primitive (like an object), it works just fine: http://plnkr.co/edit/O1PUVZ?p=preview.
When using scopes in AngularJS, always use a dot[1].
I'm going to close this as number 1 is a duplicate and number 2 isn't a bug.
[1]: More info on scope inheritance and AngularJS can be found here.
If I have a group of radio button with tooltips, the buttons show inactive until they are clicked, but when another button of the group is clicked, the originally active button does not go inactive.
Here's a plunker that demonstrates the error: http://plnkr.co/edit/21QC5q
cheers,
Bob
The text was updated successfully, but these errors were encountered: