[Vuejs]-Not throwing a validation error for an array of JSON object when it should be?

0👍

Use rule as

'integer|between:0,100'

it will initially get the data as a string. We need the validator to know that the data is an integer. After that, it will work.

Leave a comment