Created attachment 1411442 [details] dialog Description of problem: Version-Release number of selected component (if applicable): 5.9.2.0.20180320210136_355c506 How reproducible: Steps to Reproduce: 1. Import the dialog attached . 2. Use the above imported dialog in a catalog item and order . 3. Default selected value is blank and "Choose" is shown as one of the entries in the dropdown . Actual results: Expected results: Additional info:
Created attachment 1411443 [details] blank default
Correction : The dialog element is "tag control" not dropdown.
https://github.com/ManageIQ/ui-components/pull/276
New commit detected on ManageIQ/ui-components/master: https://github.com/ManageIQ/ui-components/commit/f49f9d31d94fad948e04bdf263ad68259cfa17bc commit f49f9d31d94fad948e04bdf263ad68259cfa17bc Author: Roman Blanco <rblanco> AuthorDate: Tue Apr 3 11:01:29 2018 -0400 Commit: Roman Blanco <rblanco> CommitDate: Tue Apr 3 11:01:29 2018 -0400 Setting the default_value for TagControl dialog field Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1559159 The problem is the default options Choose and None had no id, and so the default_value remained unset and so an empty option field was created. (https://stackoverflow.com/a/12654812) In the fix I'm setting a value of the default options to 0, and setting them as default. src/dialog-user/components/dialog-user/dialogField.ts | 16 + 1 file changed, 16 insertions(+)
Fixed in 5.10.0.3.20180705151325_ce4d2b5