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