#How to validated an array input on Vue Inertia Js

7 messages · Page 1 of 1 (latest)

devout thunder
#

Hello guys, i have form with an array input on there. everything working fine, but the validation for the array input keep thrown an error (" Cannot read properties of undefined (reading '0') "). im using InertiaJs with Form Helper. thank you for anyone help me

devout thunder
#

this is the error

boreal valve
devout thunder
#

i saw the errors object. but how to get that "selectedSize.0.stock" error?

#

i already trying this, but still thrown an error ( undefined reading 'index' ) on the console