Begin work on a custom element for incrementer
This commit is contained in:
parent
1c2ced321b
commit
d5429b7b34
7 changed files with 137 additions and 7 deletions
|
|
@ -15,7 +15,8 @@
|
|||
>
|
||||
Supplies
|
||||
</label>
|
||||
<button
|
||||
<dd-incrementer value="{{system.supplies}}"></dd-incrementer>
|
||||
{{!-- <button
|
||||
type="button"
|
||||
class="icon"
|
||||
data-decrement="system.supplies"
|
||||
|
|
@ -39,7 +40,7 @@
|
|||
<div aria-hidden="true" class="icon icon--14">
|
||||
{{{ icons.create }}}
|
||||
</div>
|
||||
</button>
|
||||
</button> --}}
|
||||
</div>
|
||||
<div class="e-1dp panel bytes-panel">
|
||||
<label
|
||||
|
|
@ -47,7 +48,7 @@
|
|||
>
|
||||
Bytes
|
||||
</label>
|
||||
<button
|
||||
{{!-- <button
|
||||
type="button"
|
||||
class="equal-padding"
|
||||
data-decrement="system.bytes"
|
||||
|
|
@ -70,7 +71,7 @@
|
|||
>
|
||||
<div aria-hidden="true" class="icon icon--14">
|
||||
{{{ icons.create }}}
|
||||
</div>
|
||||
</div> --}}
|
||||
</button>
|
||||
</div>
|
||||
<div class="e-1dp panel filter-panel">
|
||||
|
|
|
|||
|
|
@ -73,13 +73,14 @@
|
|||
<label for="{{meta.idp}}-quantity">
|
||||
Quantity
|
||||
</label>
|
||||
<input
|
||||
<dd-incrementer value="{{system.supplies}}"></dd-incrementer>
|
||||
{{!-- <input
|
||||
type="number"
|
||||
min="0"
|
||||
name="system.quantity"
|
||||
value="{{system.quantity}}"
|
||||
id="{{meta.idp}}-quantity"
|
||||
>
|
||||
> --}}
|
||||
{{else}}
|
||||
Quantity
|
||||
{{system.quantity}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue