Skip to content
Discussion options

You must be logged in to vote

You are setting this.form as the 2nd parameter to form.post(). The method signature is form.post(url, options)
Here is a corrected version that should work:

submit() {
    this.form.post(this.route('login'), {
        onStart: () => (this.progress = true),
        onFinish: () => (this.progress = false),
    });
}

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@MuhammadSaim
Comment options

@azizullahsaeidi
Comment options

Answer selected by MuhammadSaim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants