angular-strap icon indicating copy to clipboard operation
angular-strap copied to clipboard

Tabs break scope / data binding

Open xbrabec opened this issue 12 years ago • 2 comments

Hi,

It seems like if I put input elements as a tab content and bind them to scope it behaves very strangely. Especially for directives wrapping jq plugins. But even for date picker.

Here is the plunker: http://plnkr.co/edit/kqtzmzKxWdkHLtncpj0u?p=info

the two date pickers are bound to the same value, all more or less works except when you delete the value from the second date picker. Then the binding gets broken and even {{selectedDate}} does not reflect changes.

Honza

xbrabec avatar Feb 06 '14 20:02 xbrabec

my bad. Here is an explanation:

http://stackoverflow.com/questions/14049480/what-are-the-nuances-of-scope-prototypal-prototypical-inheritance-in-angularjs

xbrabec avatar Feb 07 '14 22:02 xbrabec

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Jan 27 '19 02:01 lock[bot]