The New Way to Build with AI! Introducing ReUI — the developer platform for agentic UI with shadcn/ui
Browse ReUI Pro

Update values are like empty


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


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (4)

 
Deleted comment
 
Deleted comment

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


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
buy metronic keenthemes mega bundle

ReUI

Open-source React components, blocks and templates built on shadcn/ui and Tailwind CSS by Keenthemes.