title: Blazor call a method on Property Value Change
body: <p>i am looking for a way to call a method when value of a property is change (<strong>Not By USER</strong>)</p>
  <p>e.g i have this property</p>
  <p><code>[Parameter]public int SelectedPatientId { get; set; }</code></p>
  <p>and when ever its value changes i want to call this method</p>
  <pre><code>public async void valuechanged()
  {
  ... do something here
  }
  </code></pre>
  <p>so far i tried this and it's not working</p>
  <p><code>&lt;input type=&quot;hidden&quot; value=&quot;@SelectedPatientId&quot; @onchange=&quot;valuechanged&quot;/&gt;</code></p>
  <p><code>&lt;input type=&quot;hidden&quot; @bind=&quot;@SelectedPatientId&quot; @bind:event=&quot;valuechanged&quot;/&gt;</code></p>