john-oc / acute-select

Dropdown List Component for AngularJS - NO LONGER UNDER ACTIVE DEVELOPMENT
MIT License
123 stars 83 forks source link

Template for directive 'acSelect' must have exactly one root element. /acute.select/acute.select.htm #44

Open sfaizan opened 9 years ago

sfaizan commented 9 years ago

I am getting this error , and i really need to use the ac-key feature of this plugin, please reply

john-oc commented 9 years ago

I've not seen this error before, but when I google it, it I can see that it's thrown by angular itself if it doesn't find a single div (or other container element) in the template which wraps all the content. Some people have had this error because of a comment at the top of the template. Have you changed the template at all? If not, is it possible that the path to the template isn't right?

sfaizan commented 9 years ago

where should I place the template file? On Aug 13, 2015 2:31 AM, "john-oc" notifications@github.com wrote:

I've not seen this error before, but when I google it, it I can see that it's thrown by angular itself if it doesn't find a single div (or other container element) in the template which wraps all the content. Some people have had this error because of a comment at the top of the template. Have you changed the template at all? If not, is it possible that the path to the template isn't right?

— Reply to this email directly or view it on GitHub https://github.com/john-oc/acute-select/issues/44#issuecomment-130448109 .

przemyslawjanpietrzak commented 9 years ago

I had same error. TemplateUrl in acute.select.js don't get "acute.select.htm" file.