Open tanthammar opened 4 years ago
same problem
I believe it’s from some recent live wire changes. This is why I hate front end dev. Everything you do becomes outdated in a month.
I’ll have to read the commits and figure out what’s going on when I have time. If anyone figures out a solution in the meantime feel free to submit a PR.
Wondering if this is related to the naming of the element. I found in another unrelated livewire application that error went away when I just allowed element to be identified by name="xxxx" and removed id="xxxx"
I found this on the livewire issue page. Have not tested yet, but I did have laravel 7 and the livewire-vue plugin installed. Did delete the repo where I tested this package. Maybe something to check out?
Just tried... no issue
in Laravel 7 it should be
<livewire:user-create-form/>
just make all content of your component in one div
in your component user-create-form.php
<div>
//content
</div>
just make all content of your component in one div
in your component user-create-form.php <div> //content </div>
Saved my day....
from documentation: Make sure your Blade view only has ONE root element.
Trying to follow the basic example in a fresh Laravel 7 install. Did
home.blade.php
Error: