C
C#2mo 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
friedice2mo ago
What do you mean by any control, on any input change?
KitStead
KitSteadOP2mo ago
InputText InputSelection any form element
friedice
friedice2mo ago
What's the use case for this? Validation?
KitStead
KitSteadOP2mo ago
It is a search form. Results should only be searched for if all the fields are completed
KitStead
KitSteadOP2mo ago
Thank you Thank you. That was exactly what I needed.
Want results from more Discord servers?
Add your server