I've tried this with a select InputSelect and RadzenDropdown. It all ends up the same way.
When the dropdown is changed, I check for a specific value. On that value I open a confirm dialog window. Either way I want the dropdown value to change to what was selected. If true it should also send out an email though.
Here's where the problem starts. As soon as the dialog window is opened it resets the dropdown to its original bound value. If I try to set bound value programmatically after the window closes, it will only change until the Change/OnChange event finishes then it goes back to the original value.
I figured it out.
It's my understanding the Open for every Dialog will be called when ANY Dialog is opened. True?
I open parent. It sets values.
I change value to trigger child Dialog.
Parent Dialog opens and sets values all over again.
Child Dialog opens. It's not just the dropdown resetting. It's everything.
I just had to move my code that set values in the parent Dialog from OnParametesSetAsync to OnInitializedAsync