* Do not override default `hide` value of variables Some variables like `constant` are configured to be hidden by default and this setting must be treated with respect. * make textBox variable visible by default Fixes #16695
@@ -9,7 +9,7 @@ export class TextBoxVariable implements Variable {
defaults = {
type: 'textbox',
name: '',
- hide: 2,
+ hide: 0,
label: '',
query: '',
current: {},
@@ -163,7 +163,6 @@ export class VariableEditorCtrl {
type: $scope.current.type,
});
$scope.current.name = old.name;
- $scope.current.hide = old.hide;
$scope.current.label = old.label;
const oldIndex = _.indexOf(this.variables, old);