Angular: Fixes issue with angular directive caused by angular upgrade in master (#30114)

This commit is contained in:
Torkel Ödegaard
2021-01-08 10:56:10 +01:00
committed by GitHub
parent 4aa09a6a71
commit ccf2e255fe

View File

@@ -47,7 +47,9 @@ export class FormDropdownCtrl {
// listen to model changes
$scope.$watch('ctrl.model', this.modelChanged.bind(this));
}
$onInit() {
if (this.labelMode) {
this.cssClasses = 'gf-form-label ' + this.cssClass;
} else {