Last Updated: 22 Mar 2022 08:48 by ADMIN
Created on: 16 Dec 2020 08:23
Category: UI for Blazor
Type: Feature Request
Select Content for inputs


I'd like to request a method "Select" or similiar for input controls. The goal is to select the content of the input control through the component reference.



1 comment
Marin Bratanov
Posted on: 16 Dec 2020 08:29

Hello Srdjan,

You can find two similar requests here:

and Vote for them and Follow them if that's what you're looking for.

Such DOM manipulations, however, are something that can be a problem in Blazor - if something else happens and the component re-renders that selection state will be lost, which is why I'd suggest you consider doing this with JS like the examples in those pages above do. This is not something that Blazor has C# API for so it will always be done with JS.

Considering that, is there a problem with doing this with JS?

Marin Bratanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at