diff --git a/DOCS.md b/DOCS.md index e95d907..d65c859 100644 --- a/DOCS.md +++ b/DOCS.md @@ -458,7 +458,7 @@ Example custom view file: id="{{ $field->name }}" type="text" class="custom-field-class form-control @error($field->key) is-invalid @enderror" - wire:model.lazy="{{ $field->key }}"> + wire:model.live="{{ $field->key }}"> @include('laravel-livewire-forms::fields.error-help') diff --git a/composer.json b/composer.json index 8268de6..7e6a922 100644 --- a/composer.json +++ b/composer.json @@ -12,11 +12,11 @@ } ], "require": { - "php": "~8.1.0 | ~8.2.0", - "illuminate/console": "^9.0 | ^10.0", - "illuminate/http": "^9.0 | ^10.0", - "illuminate/support": "^9.0 | ^10.0", - "livewire/livewire": "^2.0 | ^3.0" + "php": "8.2.* | 8.3.*", + "illuminate/console": "^11.0", + "illuminate/http": "^11.0", + "illuminate/support": "^11.0", + "livewire/livewire": "^3.0" }, "autoload": { "psr-4": { diff --git a/resources/views/array-fields/checkbox.blade.php b/resources/views/array-fields/checkbox.blade.php index 4fca015..13c3a37 100644 --- a/resources/views/array-fields/checkbox.blade.php +++ b/resources/views/array-fields/checkbox.blade.php @@ -4,7 +4,7 @@ id="{{ $field->key . '.' . $key . '.' . $array_field->name }}" type="checkbox" class="form-check-input @error($field->key . '.' . $key . '.' . $array_field->name) is-invalid @enderror" - wire:model.lazy="{{ $field->key . '.' . $key . '.' . $array_field->name }}"> + wire:model.blur="{{ $field->key . '.' . $key . '.' . $array_field->name }}">