Skip to content
Advertisement

Livewire wire:model not working with nested components

I’m creating a page using livewire to list users from DB and be able to update them.. I have a Users parent component and (User)s child components

users.blade.php:

JavaScript

user.blade.php

JavaScript

Users.php

JavaScript

User.php

JavaScript

This is what i’m getting in the browser

enter image description here

Any idea why this is happening ?

Advertisement

Answer

I found the issue, it was the validation rules, I had to change it to

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement