Improve comment

This commit is contained in:
Marcus Moore 2024-08-20 16:52:51 -07:00
parent 680cce3ee2
commit 59832126cb
No known key found for this signature in database

View file

@ -37,7 +37,7 @@
name="default_values[{{ $field->id }}]"
id="default-value{{ $field->id }}"
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--}}
onchange="this.dispatchEvent(new InputEvent('input'))"
>