Browse Source

AMBARI-17933. Configs: Warning message absent when invalid value filled for combo widget in raw mode. (alexantonenko)

Alex Antonenko 9 years ago
parent
commit
bbb65bf007

+ 1 - 0
ambari-web/app/views/common/configs/widgets/combo_config_widget_view.js

@@ -45,6 +45,7 @@ App.ComboConfigWidgetView = App.ConfigWidgetView.extend({
     this.initPopover();
     this.addObserver('config.stackConfigProperty.valueAttributes.entries.[]', this, this.updateValuesList);
     this.addObserver('controller.forceUpdateBoundaries', this, this.updateValuesList);
+    this.addObserver('config.value', this, this.isValueCompatibleWithWidget);
   },
 
   /**