I have an AngularJS's directive, and calling it in Jade Template by using:
input(auto-complete, ui-items='merchants.name', ng-model='selected')
I need to have auto-complete
as it is (without = sign), but it's HTML is shown as
<input class="ng-pristine ng-valid" ng-model="selected" ui-items="merchants.name" auto-complete="auto-complete">
How can I eliminate ="auto-complete"
?
Just hit this too. Everything seems good when you have doctype html
at the beginning of the .jade
file.
If you cannot add that to the file (when it's a partial html, etc.), pass {doctype: 'html'}
as option when you call Jade:
jade -O "{doctype:'html'}" partial.jade
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With