Make mode binding one-way

It is only updated one-way, so the binding shouldn't be two-way.
This commit is contained in:
Bálint Bokros 2018-02-15 11:22:42 +01:00
parent 8e5f402519
commit c88fd8c3b8

View File

@ -12,7 +12,7 @@
<div (textChanged)="setButtonStateDirty()"
ace-editor
[(text)]="code"
[(mode)]="language"
[mode]="language"
[theme]="theme"
class="tfw-ace-editor"
>