eight04 / angular-datetime

A directive to add the behavior of datetime input on unsupported browsers.
MIT License
93 stars 28 forks source link

how can I reset placeholder #54

Closed czhao24 closed 6 years ago

czhao24 commented 7 years ago

place holder is (year)-(month)-(date) now, how can I use datetimePlaceholder to reset it ?

eight04 commented 7 years ago

datetimePlaceholder is a plain object. You can modify its properties in config phase. For example: https://plnkr.co/edit/cTHSYNlh1bHVqyxFR43o?p=preview