thanks a lot @alexbyk for helping with all of these changes! all credit goes to him.
Changes
Bug Fixes
- Fixed a bug where inputText was set twice
- Fixed a bug where passing an empty
[date]
doesn't take effect a second time - Fixed a bug where passing an empty
[date]
doesn't clear a date, but changes it to today's date
Features
- Add
[disabled]
feature to make the input disabled, solves #28 - Add two way binding
[(date)]
anddateChange
event.onSelect
fires when a user clicks a date (one way binding) anddateChange
fires on every date change (2way) - Add
[placeholder]
attribute. This text is shown when the[date]
is falsy