mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
submit on enter for edit
This commit is contained in:
parent
9430e9c8e2
commit
b89116eb55
|
@ -64,6 +64,7 @@
|
||||||
<td style="vertical-align: middle;">
|
<td style="vertical-align: middle;">
|
||||||
<a class="action-link"
|
<a class="action-link"
|
||||||
wire:click="editClient('{{ $client->id }}')"
|
wire:click="editClient('{{ $client->id }}')"
|
||||||
|
onclick="$('#modal-edit-client').modal('show');"
|
||||||
>
|
>
|
||||||
Edit
|
Edit
|
||||||
</a>
|
</a>
|
||||||
|
@ -263,6 +264,7 @@
|
||||||
aria-label="edit-client-name"
|
aria-label="edit-client-name"
|
||||||
class="form-control"
|
class="form-control"
|
||||||
wire:model="editName"
|
wire:model="editName"
|
||||||
|
wire:keydown.enter="updateClient('{{ $editClientId }}')"
|
||||||
>
|
>
|
||||||
|
|
||||||
<span class="help-block">
|
<span class="help-block">
|
||||||
|
@ -282,6 +284,7 @@
|
||||||
name="redirect"
|
name="redirect"
|
||||||
aria-label="redirect"
|
aria-label="redirect"
|
||||||
wire:model="editRedirect"
|
wire:model="editRedirect"
|
||||||
|
wire:keydown.enter="updateClient('{{ $editClientId }}')"
|
||||||
>
|
>
|
||||||
|
|
||||||
<span class="help-block">
|
<span class="help-block">
|
||||||
|
|
Loading…
Reference in a new issue