Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

blazor onchange event not firing with inputselect

 <InputSelect ValueExpression="@(()=>comment.Country)" 
                                           Value="@comment.Country" 
                 ValueChanged="@((string value) => OnValueChanged(value ))">
        <option value="">Select country...</option>
        <option value="USA">USA</option>
        <option value="Britain">Britain</option>
        <option value="Germany">Germany</option>
        <option value="Israel">Israel</option>
 </InputSelect>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #blazor #onchange #event #firing #inputselect
ADD COMMENT
Topic
Name
6+1 =