formly-js / angular-formly

JavaScript powered forms for AngularJS
http://docs.angular-formly.com
MIT License
2.23k stars 405 forks source link

Template with comment on first line are not work #644

Open sukrosono opened 8 years ago

sukrosono commented 8 years ago

I just hitting this issue, and not explicitly request feature. Feel free to improve or just make an explicit warning on the documentation. Isolated issue

BarryThePenguin commented 8 years ago

It looks like this is an issue with formly-js/angular-formly-templates-bootstrap

Specifically where the first item from the template is appended to the description manipulator.

var el = document.createElement('div');
el.appendChild(angular.element(template)[0]);
sukrosono commented 8 years ago

yeah thanks for pointing that, i may take a look later. too much deadline :cry:

pajaydev commented 7 years ago

Is this still open?. Can I take this issue?

sukrosono commented 7 years ago

yes @ajay2507 , we will be happy if you want take this down :) . FYI we are building the formly for angular 2 at ng-formly. You may submit pr for v.1 or v.2 or both. But i am not sure if the version 2 is aware of this.