Skip to content

referencing this when it is already the window object in SignUp #119

@gerwinbrunner

Description

@gerwinbrunner

Hi,

I get the following error

Exception in delivering result of invoking 'createUser': TypeError: _this7.showMessage is not a function
    at http://localhost:3010/packages/std_accounts-ui.js?hash=69063d010a3ed9c833c97bb301c6d32ad0e2425e:2400:20
    at http://localhost:3010/packages/accounts-base.js?hash=00b4c32478a678093a294cc73c7dbd8c59c65d48:324:26

I think this is due to the fact of using the this reference here

I use an extended class MyLoginForm extends LoginForm

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