Skip to content

oneOf with arrayOf in IE11 #22

Description

@ericyliu

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions