condition.sub-array

Checks that the array in data is a subarray for parent.

View example in the sandbox.

Component properties

NameTypeDescription
type*"condition.sub-array"

Set component type

dataany

Subarray that is checked for in parent

hintstring

Validation error message that the user will see

parentany

The array where data is searched for