Hi AJ,
My scenario was to check for the form field validation and display the error message immediately as the value changes in the dropdown. If we trigger the ajax refresh on change of the component then also the selected value should persist. This is not the expected behavior that the selected value get reset if we do the ajax refresh on change event of the component.
Also this component does not show the already selected or prefilled value at the time of load.
I had made changes in JavaScript(added input parameter for the already selected option) to set the selected property of the provided option as true so that the already selected or prefilled value can be displayed.
Thanks,
Unnati K