Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Can not set @submit when use as="form" #452

Closed
@simpletrontdip

Description

@simpletrontdip

Describe the bug
Form does not get onSubmit handler when use as

<CStack as="form" @submit.prevent="doSubmit">

To Reproduce
You can go to Code sandbox here

  • Enter some username/password and enter -> Page reloaded, nothing happen
  • Replace it by upper form line, doSubmit get triggered

Expected behavior
The generated form should have an onSubmit handler

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