Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

1.2-rc3 breaks combination of transclude and replace cause multidir error #4837

Open
tardyp opened this issue Nov 8, 2013 · 1 comment
Open

Comments

@tardyp
Copy link

tardyp commented Nov 8, 2013

I use combination of transclude and template to implement widget inheritence (kindof)

My code started break between rc2 and rc3,

Please have a look at this plunker for an easier description of the situation
http://plnkr.co/edit/igNX8j6P0xwHGQ5JvHI7?p=preview

Not sure if this is a bug, but if I use replace=true in combination with transclude and two templated widgets, I get this error:

http://docs.angularjs.org/error/$compile:multidir?p0=textfield&p1=basefield&p2=template&p3=%3Cbasefield%3E

@IgorMinar
Copy link
Contributor

I can still reproduce this with 1.2.7

We should recognize that the second directive is coming from the nested template that is replacing the current element and not complain about double templates.

@btford btford removed the gh: issue label Aug 20, 2014
@Narretz Narretz removed the PRs plz! label Aug 8, 2015
@Narretz Narretz modified the milestones: Ice Box, Backlog Jan 22, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants