Skip to content

Unwanted conversion of select box values from string to Infinity #122

Description

@danieliser

We used this to parse a form that includes a select box of mailchimp list ids.

Recently one of our users reported strange issues, on investigation it was found that his list ID was something like this 52e999999

The JSON.parse(value); line is eating this converting it to an integer which in this case is returned as Infinity

I'm guessing for select fields it shouldn't be parsing it as json in general?

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