Skip to content

EditForm: Add method to submit form async #10953

@FluentGuru

Description

@FluentGuru

Right now you can only submit the EditForm by adding a button[type=submit] and clicking it. I'd like to have a way to manually invoke the form submit with a method. Something like

<EditForm Model=@model ref="myForm"> <button on click="@(() => myForm.Submit())">Click me</button> </EditForm>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pillar: Complete Blazor Webaffected-fewThis issue impacts only small number of customersarea-blazorIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing onefeature-blazor-builtin-componentsFeatures related to the built in components we ship or could ship in the futurehelp candidateIndicates that the issues may be a good fit for community to help with. Requires work from eng. teamseverity-minorThis label is used by an internal tool

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions