Description of problem: If an automate method refreshes a dynamic dropdown, the refreshed dropdown values aren't visible. Version-Release number of selected component (if applicable): 5.8.4.2 and 5.9.2.4 How reproducible: 100% Steps to Reproduce: 1.) Import automate domain and dialog from attached files. 2.) Create service catalog from dialog. 3.) Order service, and change the selected value in the Tenant dropdown. 4.) See that the values displayed in the Network dropdown do not change after the tenant changes, but that if you then select one of the network values, the refreshed network value suddenly appears and is selected. Actual results: Dynamic dropdown refreshes, but the new values aren't visible until you select one of them. Expected results: Dynamic dropdown refreshes and new values are visible immediately. Additional info: This seems to be an issue specifically when the automate method re-uses the same keys when creating the hash of the new values for the dynamic dropdown. If different keys are used, then the refreshed values are visible immediately.
Created attachment 1430876 [details] automate domain
Created attachment 1430877 [details] dialog
https://github.com/ManageIQ/ui-components/pull/295
https://github.com/ManageIQ/manageiq-ui-classic/pull/3945
New commit detected on ManageIQ/ui-components/master: https://github.com/ManageIQ/ui-components/commit/9f5e29400a63a596d30c13576ecbe29b10e02eb6 commit 9f5e29400a63a596d30c13576ecbe29b10e02eb6 Author: Erik Clarizio <eclarizio> AuthorDate: Wed May 9 21:07:32 2018 -0400 Commit: Erik Clarizio <eclarizio> CommitDate: Wed May 9 21:07:32 2018 -0400 Use new 'miq-select' directive instead of patternfly https://bugzilla.redhat.com/show_bug.cgi?id=1574668 application-settings.js | 1 + karma.conf.js | 2 +- src/dialog-user/components/dialog-user/dialogField.html | 47 +- src/index.ts | 3 +- src/miq-select/index.ts | 7 + src/miq-select/miqSelect.js | 53 + src/miq-select/miqSelect.spec.js | 156 + 7 files changed, 226 insertions(+), 43 deletions(-)
New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/d2e8c5764001fe89e39525fd7c202ef289ca4b6f commit d2e8c5764001fe89e39525fd7c202ef289ca4b6f Author: Erik Clarizio <eclarizio> AuthorDate: Tue May 15 10:54:04 2018 -0400 Commit: Erik Clarizio <eclarizio> CommitDate: Tue May 15 10:54:04 2018 -0400 Utilize a new 'miq-select' directive for dialog fields https://bugzilla.redhat.com/show_bug.cgi?id=1574668 app/assets/javascripts/miq_angular_application.js | 1 + 1 file changed, 1 insertion(+)
Verified on 5.10.0.4.