mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 00:17:03 +03:00
Use <input type="number"> for plugin property type INT
This commit is contained in:
parent
0c8c28fe41
commit
4d529a43b6
1 changed files with 6 additions and 2 deletions
|
|
@ -3,10 +3,14 @@
|
||||||
<span data-bind="text: Label, visible: 5 !== Type"></span>
|
<span data-bind="text: Label, visible: 5 !== Type"></span>
|
||||||
</label>
|
</label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<!-- ko if: 0 === Type || 1 === Type -->
|
<!-- ko if: 0 === Type -->
|
||||||
<input type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
<input type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
||||||
data-bind="value: value, attr: {placeholder: placeholder}" />
|
data-bind="value: value, attr: {placeholder: placeholder}" />
|
||||||
<!-- /ko -->
|
<!-- /ko -->
|
||||||
|
<!-- ko if: 1 === Type -->
|
||||||
|
<input type="number" step="1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
||||||
|
data-bind="value: value, attr: {placeholder: placeholder}" />
|
||||||
|
<!-- /ko -->
|
||||||
<!-- ko if: 3 === Type -->
|
<!-- ko if: 3 === Type -->
|
||||||
<input type="password" autocomplete="current-password" autocorrect="off" autocapitalize="off" spellcheck="false"
|
<input type="password" autocomplete="current-password" autocorrect="off" autocapitalize="off" spellcheck="false"
|
||||||
data-bind="value: value, attr: {placeholder: placeholder}" />
|
data-bind="value: value, attr: {placeholder: placeholder}" />
|
||||||
|
|
@ -29,4 +33,4 @@
|
||||||
<span class="help-block" style="color: #ccc" data-bind="text: Desc, visible: '' !== Desc"></span>
|
<span class="help-block" style="color: #ccc" data-bind="text: Desc, visible: '' !== Desc"></span>
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue