Add datepicker component (#716)

This commit is contained in:
RainLoop Team 2016-06-24 00:57:35 +03:00
parent 8285bf02fe
commit 68890f8083
6 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,14 @@
<input class="i18n" type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
data-bind="pikaday: value, attr: {'placeholder': placeholder}, enable: enable, css: className" />
<!-- ko if: labeled -->
&nbsp;
<span class="i18n" data-bind="attr: {'data-i18n': label}"></span>
&nbsp;
<!-- /ko -->
<!-- ko if: triggered -->
&nbsp;
<div data-bind="component: {
name: 'SaveTrigger',
params: { value: trigger }
}"></div>
<!-- /ko -->