Fix for javascript error when attempting to edit a service dialog based on orchestration template #4759
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The issue states that there was an infinite spinner when clicking on the dialog to edit in the Automate -> Customization section, which uses the sample page to initially show the dialog. However, the sample page has no reason to call the offending method
initializeDialogSelectPicker
since that method sets up the field to call to a url and/or trigger refreshes which make no sense on the sample page. Thus, we should simply usemiqInitSelectPicker
to give us the patternfly styling we want without the unnecessary setup.Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1638420
@miq-bot assign @h-kataria
@miq-bot add_label bug