Skip to content

Do not add initial empty value in create cluster dropdown

Enrique Alcántara requested to merge fix-null-value-dropdown-multiple into master

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 🤖

Merge request reports

Loading