Skip to content

Form submission fails from yiisoft/yii2 v. 2.0.50 #145

@willworldeducation

Description

@willworldeducation

Submission of ActiveForm fails from update 2.0.50 of yiisoft/yii2 with error:

Uncaught TypeError: Cannot read properties of null (reading 'inputmask')
at new FormData (:23:38)
at pjax.handleSubmit [as submit] (jquery.pjax.js?v=1740441292:154:21)
at HTMLFormElement. (:44:161)
at HTMLDocument.dispatch (jquery.js?v=1740441289:5145:27)
at jQuery.event.add.elemData.handle (jquery.js?v=1740441289:4949:28)
at Object.trigger (jquery.js?v=1740441289:8629:12)
at HTMLFormElement. (jquery.js?v=1740441289:8707:17)
at jQuery.each (jquery.js?v=1740441289:383:19)
at jQuery.each (jquery.js?v=1740441289:205:17)
at jQuery.trigger (jquery.js?v=1740441289:8706:15)

It works fine with previous versions.

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