C
C#5mo ago
KitStead

Blazor - Can we OnValidSubmit for every control change?

Hi, I am looking to develop and application using Blazor. I have a standard form with a model. OnValidSubmit is currently being fired by a submit button. However, I am looking to submit the form on every change of any control on the form. Googling for an hour has not lead me to an answer. Does anyone have any pointers?
6 Replies
friedice
friedice5mo ago
What do you mean by any control, on any input change?
KitStead
KitSteadOP5mo ago
InputText InputSelection any form element
friedice
friedice5mo ago
What's the use case for this? Validation?
KitStead
KitSteadOP5mo ago
It is a search form. Results should only be searched for if all the fields are completed
KitStead
KitSteadOP5mo ago
Thank you Thank you. That was exactly what I needed.

Did you find this page helpful?