Last post Sep 25, 2019 10:42 PM by hokn
Sep 25, 2019 10:42 PM|hokn|LINK
I have a textbox of type "InputText" and a button of type "Button". I want to disable the button when there is no text. Once user starts to type in text, I want to enable the button. Does anyone know how I can achieve this? Looks like Blazor's event handling
is lot different...
I am currently binding InputText to a property:
<InputText class="form-control" size="10" @bind-Value="ProjectName"></InputText>
Thanks for any pointers?