question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

EditForm: Add method to submit form async

See original GitHub issue

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>

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:10
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
FluentGurucommented, Jun 7, 2019

Alright. Thanks for the heads up 😃

0reactions
loganmarshall1commented, Jul 18, 2020

Fantastic idea!!

Read more comments on GitHub >

github_iconTop Results From Across the Web

EditForm: Add method to submit form async · Issue #10953
I'd like to have a way to manually invoke the form submit with a method. ... EditForm: Add method to submit form async...
Read more >
Problem when submitting EditForm when using ...
I'm using NavigationManager int the submit function after my create or update, but the submit isnt getting hit when the edit context is ......
Read more >
ASP.NET Core Blazor forms and input components
A form is defined using the Blazor framework's EditForm component. ... The Submit method is registered as a handler for the OnSubmit ...
Read more >
Handling form submission
As this is a standard web control, we can provide the user with the ability to submit the form by adding an <input>...
Read more >
Difference between EditForm EditContext and form method ...
Difference between EditForm EditContext and form method="post" ... One method works to log me in, and the other doesn't. What works: Login.razor -...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found