-
Hello, I'm running into some difficulty with a mapped property when submitting a form. Problem: When I submit a form, with an input field called Since I have mapped the Code below:
My html form looks like this:
My web.php looks like this:
My controller looks likes this:
Thank you for any insights/thoughts Al |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
If it helps anyone, for the mapper to work as expected you must add the
Note that adding |
Beta Was this translation helpful? Give feedback.
If it helps anyone, for the mapper to work as expected you must add the
Spatie\LaravelTypeScriptTransformer\Transformers\SpatieStateTransformer::class
to yourtypescript-transformer.php
configuration file as follows:Note that adding
Spatie\LaravelTypeScriptT…