skip to Main Content

Php – html fields in livewire is not updating the data

public function removeCoreFunction($index){ unset($this->coreFunctions[$index]); $this->coreFunctions = array_values($this->coreFunctions); } so i have this function here which removes the specific index from the coreFunctions and makes it an array value again. It works as i expected in the function, however in my…

VIEW QUESTION

Laravel – Why custom multiselection element is not available after I selected item?

On laravel 10 site using docs at https://dev.to/koossaayy/laravel-livewire-multiple-selection-with-virtual-select-1f87 I try to make multiselection. I made it with some changes in the code. In component : <?php namespace AppLivewireAdmin; use AppModelsPermission; use IlluminateSupportStr; use LivewireComponent; class UsersPermissionsEditor extends Component { public…

VIEW QUESTION

Javascript – Why passing array from livewire info js code I got error?

On laravel 10 site using docs at https://dev.to/koossaayy/laravel-livewire-multiple-selection-with-virtual-select-1f87 I try to make multiselection, but copypasting code of the project I got "Uncaught SyntaxError: Unexpected token ':' "error on blade code : <div> <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/virtual-select.min.js" integrity="sha256-Gsn2XyJGdUeHy0r4gaP1mJy1JkLiIWY6g6hJhV5UrIw=" crossorigin="anonymous"></script> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/virtual-select.min.css" integrity="sha256-KqTuc/vUgQsb5EMyyxWf62qYinMUXDpWELyNx+cCUr0="…

VIEW QUESTION
Back To Top
Search