disable editor play button if there are errors in the config (#11383)
This commit is contained in:
parent
984aaa80cf
commit
8694acb9e4
|
@ -58,7 +58,7 @@
|
||||||
data-test-subj="visualizeEditorRenderButton"
|
data-test-subj="visualizeEditorRenderButton"
|
||||||
class="kuiButton kuiButton--primary navbar-btn-link"
|
class="kuiButton kuiButton--primary navbar-btn-link"
|
||||||
type="submit"
|
type="submit"
|
||||||
ng-disabled="!vis.dirty"
|
ng-disabled="!vis.dirty || visualizeEditor.errorCount() > 0"
|
||||||
>
|
>
|
||||||
<i class="fa fa-play"></i>
|
<i class="fa fa-play"></i>
|
||||||
</button>
|
</button>
|
||||||
|
|
Loading…
Reference in a new issue