oneOf seems to be order dependent and not working as intended when supplied with arrayOf as one of the arguments
In IE11:
oneOf(arrayOf(mapping()), boolean) breaks when field is a boolean
oneOf(boolean, (arrayOf(mapping())) breaks when field is an array
The error message by validated is:
Unable to get property 'split' of undefined or null reference
Edit Nevermind this happens with all oneOfs, regardless if there is an arrayOf inside or not
oneOf seems to be order dependent and not working as intended when supplied with arrayOf as one of the arguments
In IE11:
oneOf(arrayOf(mapping()), boolean)breaks when field is a booleanoneOf(boolean, (arrayOf(mapping()))breaks when field is an arrayThe error message by validated is:
Unable to get property 'split' of undefined or null referenceEdit Nevermind this happens with all
oneOfs, regardless if there is an arrayOf inside or not