I need to be able to run a function after a selection in made in a . The issue is I\'m also binding with @bind and I get a error when I try to use @o
Please check this example. It is using @bind but upon setting the value it triggers @onchange event
@code { private string selectedItem {get; set;} private string CheckSelected { get { return selectedItem; } set { ChangeEventArgs selectedEventArgs = new ChangeEventArgs(); selectedEventArgs.Value = value; OnChangeSelected(selectedEventArgs); } } private void OnChangeSelected(ChangeEventArgs e) { if (e.Value.ToString() != string.Empty) { selectedItem = e.Value.ToString(); } } }