Do not add initial empty value in create cluster dropdown
What does this MR do?
It fixes a bug where that happens when the initial value of the ClusterFormDropdown
component is null
or undefined
. The ClusterDropdown
component will convert null
into [null]
in the line modified in this MR. When the user selects one or more items, the result will be [null, firstItem, secondItem, etc]
.
This Merge Request also renames the vm
variable to wrapper
to conform with our testing practices.
Edited by 🤖 GitLab Bot 🤖