mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-03 22:24:27 +01:00
add clear option
This commit is contained in:
@@ -11,7 +11,14 @@
|
||||
</span>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<input type="text" v-model="filter" class="form-control" placeholder="Filter by transaction id, amount, label, comment.."/>
|
||||
<div class="input-group">
|
||||
<input type="text" v-model="filter" class="form-control" placeholder="Filter by transaction id, amount, label, comment.."/>
|
||||
<div class="input-group-append" v-show="filter">
|
||||
<button type="button" class="btn btn-primary" title="Clear" v-on:click="filter=''">
|
||||
<span class=" fa fa-times"></span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="list-group-item d-flex justify-content-between align-items-center cursor-pointer"
|
||||
v-for="item of filteredItems"
|
||||
|
||||
Reference in New Issue
Block a user