Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: "Multiple directives asking for new/isolated..." in IE11 #194

Closed
JoeyLi-1 opened this issue May 12, 2017 · 3 comments
Closed

Error: "Multiple directives asking for new/isolated..." in IE11 #194

JoeyLi-1 opened this issue May 12, 2017 · 3 comments

Comments

@JoeyLi-1
Copy link

Hey there,

I had encountered this issue in IE11. "<textarea class=xx datetime-picker=..." this works fine, but "<input type="text" class=xx datetime-picker=..." this failed with error "Multiple directives asking for new/isolated..".
The only workaround I could find is add a new div tag to encapsulate the input tag and move "datetime-picker=..." to the div tag. This is a workaround but the drop down panel and input lost connection. Do you have any other solution for this issue?

@Gillardo
Copy link
Owner

Can you replicate it on a plunkr?

@JoeyLi-1
Copy link
Author

I just try on a plunkr, but it works fine. I will close this issue and investigate my code again. Thanks!

@JoeyLi-1
Copy link
Author

The reason is I rely on another package "angular-date-picker-polyfill" which defined a directive called "input", so IE11 will popup error "Multiple directives asking..."

Write here just in case other guys might encountered same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants