fingerpich / jalali-angular-datepicker

Highly configurable jalali (shamsi, khorshidi, persian) date picker built for Angular ( 2 or more ) applications
https://fingerpich.github.io/jalali-angular-datepicker/
MIT License
152 stars 61 forks source link

how to style datepicker input #70

Closed MammadK closed 6 years ago

MammadK commented 6 years ago

how to remove default style for input and more importantly add class to <dp-date-picker> to effect rendered datepicker input?

fingerpich commented 6 years ago

https://github.com/fingerpich/jalali-angular-datepicker/issues/44

MammadK commented 6 years ago

it's not duplicate...when i add a class for example form-control to <dp-date-picker> template and build project it will be removed from input and wrapping div in DOM.

how can add bootstarp class to input?

fingerpich commented 6 years ago

Hi, That is because of angular encapsulation and using /deep/ in CSS is work around to make some changes on a web component style.