Reputation: 83
I am trying to use Angular Formly to render a datalist without success. With what I have, it renders the text input element but drops the datalist markup.
The JS Bin demonstrating the problem is at http://jsbin.com/vamalasiru/edit?html,js,output.
Any thoughts?
Upvotes: 0
Views: 276
Reputation: 83
The answer is to wrap the template in a div being that the template manipulator will only use the first element in a template if there is not root element.
The JS Bin has been updated to show the working solution.
Upvotes: 1