hello
I have a problem updating from a form.
When submitting, the loaded values ââare not saved, as if they were empty.
You have to write in each of the inputs for them to be detected.
I am using Laravel with livewire with your example code
Hi,
Sorry for the delay. May I know if you are using the latest Metronic version 8 (v8.2.9)? Recently, we upgraded Livewire, and the issue you’re facing could be related to an older version.
We have tested the latest version using the online demo here:
https://preview.keenthemes.com/starterkit/metronic/laravel/user-management/users
Please check if updating to the latest version resolves the issue. Let me know if the problem persists so we can further assist you.
Thanks!
Hi,
Have you set up the database? Could you please check the console log to see if there are any JavaScript errors? Additionally, please check the network request response to verify if there are any errors from the server.
Thanks
Everything works fine, the data loads perfectly.
When you click edit, the data is loaded into the modal.
The problem is that although the data is visible, it is as if the inputs were empty.
You have to write something in each of them so that they are not detected as empty on submit
I'm seeing that happens in all situations. not just when editing.
In the modal, if a field is not validated correctly, it maintains the value, but when submitting it does not read it, it is necessary to rewrite the input so that it is not detected as empty.
The preloaded values ââin the modal are visible, but when submitting they are empty, you have to write something in each of the inputs so that they are not detected as empty