mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 06:04:08 -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;">
|
||||
<a class="action-link"
|
||||
wire:click="editClient('{{ $client->id }}')"
|
||||
onclick="$('#modal-edit-client').modal('show');"
|
||||
>
|
||||
Edit
|
||||
</a>
|
||||
|
@ -263,6 +264,7 @@
|
|||
aria-label="edit-client-name"
|
||||
class="form-control"
|
||||
wire:model="editName"
|
||||
wire:keydown.enter="updateClient('{{ $editClientId }}')"
|
||||
>
|
||||
|
||||
<span class="help-block">
|
||||
|
@ -282,6 +284,7 @@
|
|||
name="redirect"
|
||||
aria-label="redirect"
|
||||
wire:model="editRedirect"
|
||||
wire:keydown.enter="updateClient('{{ $editClientId }}')"
|
||||
>
|
||||
|
||||
<span class="help-block">
|
||||
|
|
Loading…
Reference in a new issue