mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 13:57:41 -08:00
Improve comment
This commit is contained in:
parent
680cce3ee2
commit
59832126cb
|
@ -37,7 +37,7 @@
|
||||||
name="default_values[{{ $field->id }}]"
|
name="default_values[{{ $field->id }}]"
|
||||||
id="default-value{{ $field->id }}"
|
id="default-value{{ $field->id }}"
|
||||||
wire:model="selectedValues.{{ $field->db_column }}"
|
wire:model="selectedValues.{{ $field->db_column }}"
|
||||||
{{-- catch the onchange event and dispatch an InputEvent ourselves... --}}
|
{{-- catch the onchange event and dispatch an InputEvent ourselves so Livewire can react to it... --}}
|
||||||
{{-- https://laracasts.com/discuss/channels/livewire/livewire-and-bootstrap-datepicker?page=1&replyId=623122--}}
|
{{-- https://laracasts.com/discuss/channels/livewire/livewire-and-bootstrap-datepicker?page=1&replyId=623122--}}
|
||||||
onchange="this.dispatchEvent(new InputEvent('input'))"
|
onchange="this.dispatchEvent(new InputEvent('input'))"
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue