-
Description:FormRequest::validated() does not work with an array of objects Steps To Reproduce:Request class: $request->validated() returns only name |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@develgold Just tested your example
This test does not Fail. What did you get, if you call $request->all() ? Maybe it's a typo |
Beta Was this translation helpful? Give feedback.
-
Ok - got it: Your JSON casted to an Array results only the first level in array => name and items - but every element in items remains as Object:
|
Beta Was this translation helpful? Give feedback.
@develgold Just tested your example