title: Blazor Inputselect onchange event doesnot work
body: <p>Here I am using blazor server app and  trying to populate city dropdownlist according to change in country dropdownlist using <code>@onchange=&quot;countyClicked&quot;</code> event and bind the dropdown with the model.<br><br>Now the problem is that the onchange event doesnot work and the city dropdownlist does not get populated on onchange of country dropdownlist.<br><br>
  Below is my component html for dropdownlist</p>
  <pre><code>&lt;InputSelect @bind-Value=&quot;PersonModel.CountryId&quot; class=&quot;form-control&quot; @onchange=&quot;countyClicked&quot;&gt;
     &lt;option value=&quot;&quot;&gt;Select country&lt;/option&gt;
     @foreach (var item in Countries)
     {
        &lt;option value=&quot;@item.CountryId&quot;&gt;@item.CountryName&lt;/option&gt;
     }
  &lt;/InputSelect&gt;
  
  &lt;InputSelect class=&quot;form-control mb-2 mr-sm-2&quot; @bind-Value=&quot;PersonModel.CityId&quot;&gt;
     @foreach (var city in Cities)
     {
        &lt;option value=&quot;@city.CityId&quot;&gt;@city.CityName&lt;/option&gt;
     }
  &lt;/InputSelect&gt;
  &lt;br&gt;&lt;br&gt;
  
  
  
  public void countyClicked(ChangeEventArgs args)
  {
     var getCountryId = args.Value.ToString();
     int.TryParse(getCountryId, out int countryId);
     Cities = mainService.GetAllCityByCountryId(countryId);
  }
  </code></pre>