mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
change: made dashboard save message optional
This commit is contained in:
parent
be29357d22
commit
73fcc919cd
@ -29,8 +29,7 @@ const template = `
|
|||||||
ng-model="ctrl.message"
|
ng-model="ctrl.message"
|
||||||
ng-model-options="{allowInvalid: true}"
|
ng-model-options="{allowInvalid: true}"
|
||||||
ng-maxlength="this.max"
|
ng-maxlength="this.max"
|
||||||
autocomplete="off"
|
autocomplete="off" />
|
||||||
required />
|
|
||||||
<small class="gf-form-hint-text muted" ng-cloak>
|
<small class="gf-form-hint-text muted" ng-cloak>
|
||||||
<span ng-class="{'text-error': ctrl.saveForm.message.$invalid && ctrl.saveForm.message.$dirty }">
|
<span ng-class="{'text-error': ctrl.saveForm.message.$invalid && ctrl.saveForm.message.$dirty }">
|
||||||
{{ctrl.message.length || 0}}
|
{{ctrl.message.length || 0}}
|
||||||
|
Loading…
Reference in New Issue
Block a user