Lesson 08/21 · 4:00 min
hi i can't get the existing selected values to be displayed in the select2 option field on the edit componet, any tip on how to do that thanks
Hello Vasile. did you use wire:model on select field..
And by using a single component for both, how do you handle the flash method to be different depending if the user was created or updated?
UPDATE: since I am using Livewire 3, I follow this instead and, I still had to create 2 seperate components but using one single form: //lesson/livewire-3/edit-product-form-object
hi i can't get the existing selected values to be displayed in the select2 option field on the edit componet, any tip on how to do that thanks
Hello Vasile. did you use wire:model on select field..
And by using a single component for both, how do you handle the flash method to be different depending if the user was created or updated?
UPDATE: since I am using Livewire 3, I follow this instead and, I still had to create 2 seperate components but using one single form: //lesson/livewire-3/edit-product-form-object