Beginner form question - Field value is 'null'
Here is my form code:
When I input values in both fields and hit Submit, the dd() output is correct for 'subject' but shows 'null' for the 'message' field. Any ideas on why this is happening?
9 Replies
did you add
$this->form->fill()
in the mount method?
Could you share the whole code?@Leandro Ferreira
console errors?
@Leandro Ferreira I have "Detected multiple instances of apline running" and 500 Internal server error to /livewire/update
check the log
Weird that the "message" field (textarea) does not appear in the payload:
I am tailing the laravel.log, but nothing comes up
weird.. you should review this setup and check your livewire config
https://filamentphp.com/docs/3.x/forms/installation#existing-laravel-projects
I commented out {{-- @vite('resources/js/app.js') --}} and I am getting a non-null value in the Textarea field, but still getting the 500 error in console
My vite.config.js looks like this: