MDL-38696: Inclusion of if-else condition to disable multi-select