angular.js icon indicating copy to clipboard operation
angular.js copied to clipboard

ngSwitch causes label tag to inject out of tags.

Open toblender opened this issue 13 years ago • 2 comments

Not sure if this is a bug or a problem with how I'm using label.

When you have a ng-switch controlling a tag within a label tag. That tag will be inject outside of the label tag.

http://jsfiddle.net/7XB5G/1/

toblender avatar Aug 12 '13 18:08 toblender

If you upgrade to 1.1.5, it should work as expected

lgalfaso avatar Aug 12 '13 18:08 lgalfaso

Yes, it is fixed in 1.1.5: http://jsfiddle.net/pWMn4/1/ Thnx @lgalfaso !

pkozlowski-opensource avatar Aug 13 '13 11:08 pkozlowski-opensource