diff --git a/resources/views/livewire/custom-field-set-default-values-for-model.blade.php b/resources/views/livewire/custom-field-set-default-values-for-model.blade.php index 9ad85239ba..d825192756 100644 --- a/resources/views/livewire/custom-field-set-default-values-for-model.blade.php +++ b/resources/views/livewire/custom-field-set-default-values-for-model.blade.php @@ -44,7 +44,7 @@ value="{{ $this->getFieldValue($field) }}" id="default-value{{ $field->id }}" name="default_values[{{ $field->id }}]" - x-on:blur="(e) => $wire.$call( + x-on:change="(e) => $wire.$call( 'updateFieldValue', '{{ $field->db_column }}', e.target.value @@ -55,7 +55,17 @@ @elseif($field->element == "textarea") - + @elseif($field->element == "listbox") @@ -79,7 +89,19 @@ @foreach(explode("\r\n", $field->field_values) as $field_value) @endforeach