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

How to disable multiple inputs?

$
0
0

I have a form with about 50 inputs. There is a new requirement that, under certain contitions, all these fields should be disabled at once. Is there a way to add some code around the form that will apply the disabled to everything contained inside instead of having to add disabled="@IsDisabled" to each input?


Viewing all articles
Browse latest Browse all 4839

Trending Articles



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