Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Is it possible to get a reference of the input control that got an error in the summary?

$
0
0

I need to have a validation summary with a anchor to the input control that have the error so the user can click on it and get into the input without having to "find" it

the input have custom id, I have tried to find a way to get a hold of the ids from the validation summary but I cannot find any built-in way.

I have put a few break point during the life cycle of the process of validating / showing the error(s), only thing I can get so far is the actual property name of the model, not the id of the input.

is my only solution is to refactor the implementation to somehow use the property name of the model?


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>