mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 10:09:20 +03:00
Add datepicker component (#716)
This commit is contained in:
parent
8285bf02fe
commit
68890f8083
6 changed files with 39 additions and 0 deletions
14
rainloop/v/0.0.0/app/templates/Views/Components/Date.html
Normal file
14
rainloop/v/0.0.0/app/templates/Views/Components/Date.html
Normal 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 -->
|
||||
|
||||
<span class="i18n" data-bind="attr: {'data-i18n': label}"></span>
|
||||
|
||||
<!-- /ko -->
|
||||
<!-- ko if: triggered -->
|
||||
|
||||
<div data-bind="component: {
|
||||
name: 'SaveTrigger',
|
||||
params: { value: trigger }
|
||||
}"></div>
|
||||
<!-- /ko -->
|
||||
Loading…
Add table
Add a link
Reference in a new issue