g00fy- / angular-datepicker

calendar and datepicker directives for angular
MIT License
722 stars 421 forks source link

The directive doens't work with "data-" prefix #313

Open TomasRup opened 7 years ago

TomasRup commented 7 years ago

It works this way: <div date-picker></div>

But doesn't work like this (which is supposed to be more valid): <div data-date-picker></div>

DanTalash commented 7 years ago

Looks like the library is functional when used with data-date-picker, but the styles are not being applied because they are being targeted at a date-picker attribute instead of a class. See plunkr.