Skip to content

$.fn.val.call([el]) breaks other jQuery plugins #131

@iamnoah

Description

@iamnoah

The 3.2.2 form_params plugin, line 116, uses this:

$.fn.val.call([el])

Because the array is not a jQuery object, it breaks other plugins (e.g., tinymce) that override val and expect a jQuery object. Changing it to:

$(el).val()

fixes the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions