danguilherme / ng-cli-pug-loader

:sparkles: Angular schematics to add .pug to your project
GNU General Public License v3.0
56 stars 17 forks source link

Attributes converted to lowercase #28

Closed marco-martins closed 4 years ago

marco-martins commented 4 years ago

Someone noticed that all attributes are being converted to lowercase?

I just try to use this: div(cdkDropList)

and becomes: <div cdkdroplist></div>

And I expect the result with the same format case because of the proper directive bind.

ramon-nogueira commented 4 years ago

Hi @marco-martins ! How could you solve this question? I'm sorry for asking you on github, i´m noob here.

marco-martins commented 4 years ago

Hi @ramon-nogueira,

The problem was not related to that. Actually, angular convert all attributes to lower case into the HTML but the bind works properly. You can check https://material.angular.io/cdk/drag-drop/overview HTML source.

My problem was with the wrong declaration into my code, basically, I had a shared module and that module was not imported in the required module.