demo(datepicker): add type attribute to buttons

Closes #1890
Closes #1894