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

How to set focus on required validator error message on RadzenTextBox input control

$
0
0

i am working on Redzen controls library with asp.net 7.0 with blazor.

there is issue on set focus on the Redzen required validator on form post. the issue there the required validator popup by showing the validator but the browser window focus not there, i check it on the Redzen library , there is no feature like this to support this with RedzenTextbox control so we need to do custom work there.

Following are code sample

<RadzenTextBox class="form-control" Name="RequestName" @ref="requestNameInput" @bind-Value="@SelectedRecord.RequestName" /><RadzenRequiredValidator @ref="requestNameRequiredValidator" Text="@Localization.GetLabelValue("ThisFieldIsRequired")" Component="RequestName" Popup="true" />

Any suggestions in this regard will be appreciated.


Viewing all articles
Browse latest Browse all 4839

Trending Articles



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