Replies: 1 comment 1 reply
-
You cannot wire directly to a Model in Livewire v3. You'd need to create a public property for "first_name" (for example)
Then in "edit" set it:
Then your "wire:model" will be
Ideally you'd use a Livewire Form for this to separate the Form processing from the rest of your Table. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys, I'm currently struggling with implementing an action button to edit a row.

When i click on 'edit' should open the modal and bind the input with row data but it is not working.

I tried to implement edit($Id) method on datatable class with no luck.

Could you help me with this?
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions