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

Is there a Blazor-native way to select all text in an input field on focus?

$
0
0

Is there a Blazor-native way to select all text in a text input field on user focus? Something like this in JavaScript:

<input onClick="this.select();" >

I've built a JS interop function to do this, but I'd rather use something in-the-box.


Viewing all articles
Browse latest Browse all 4839

Trending Articles



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