The visible property for the pop up window works fine.
I'm trying to present a confirmation message when a user changes the dropdown menu selection ---> I need to change the value of the dropdown menu when the user presses a button:
When the dropdown selection changes we show the popup (the criteria here is correct and can be ignored).
Since we can't prevent the value of the dropdown from actually changing, the following executes after OnChange of the dropdown:
confirm button: keep the dropdown selection the same, update currentCategory
cancel button: change the dropdown selection back to currentCategory, don't update currentCategory
the dropdown DefaultSelectedItems: Coalesce(currentCategory, Parent.Default)
The problem with the above is that for some reason when I press the cancel button, the dropdown item does not revert to the previously selected item. It remains changed.
Desired functionality:
- Dropdown currently selected item is "Customer"
1. Change dropdown to "Contractor" dropdown, confirmation appears
2. Click the cancel button indicating we would not like to change.
3. The dropdown reverts back to "Customer"
Current functionality:
- Dropdown currently selected item is "Customer"
1. Change dropdown to "Contractor" dropdown, confirmation appears
2. Click the cancel button indicating we would not like to change.
3. (The issue) The dropdown does not revert back to "Customer"