Temporary fix for quill editor use in strains edit
This commit is contained in:
parent
19ce579983
commit
c672a245aa
2 changed files with 11 additions and 3 deletions
|
@ -9,5 +9,13 @@ export default Ember.Component.extend({
|
||||||
cancel: function() {
|
cancel: function() {
|
||||||
this.sendAction('cancel');
|
this.sendAction('cancel');
|
||||||
},
|
},
|
||||||
}
|
|
||||||
|
isolatedFromDidChange: function(value) {
|
||||||
|
this.set('strain.isolatedFrom', value);
|
||||||
|
},
|
||||||
|
|
||||||
|
notesDidChange: function(value) {
|
||||||
|
this.set('strain.notes', value);
|
||||||
|
},
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
<div data-row-span="2">
|
<div data-row-span="2">
|
||||||
<div data-field-span="2">
|
<div data-field-span="2">
|
||||||
<label>Isolated From</label>
|
<label>Isolated From</label>
|
||||||
{{text-editor value=strain.isolatedFrom}}
|
{{text-editor value=strain.isolatedFrom update=(action "isolatedFromDidChange")}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div data-row-span="3">
|
<div data-row-span="3">
|
||||||
|
@ -45,7 +45,7 @@
|
||||||
<div data-row-span="2">
|
<div data-row-span="2">
|
||||||
<div data-field-span="2">
|
<div data-field-span="2">
|
||||||
<label>Notes</label>
|
<label>Notes</label>
|
||||||
{{text-editor value=strain.notes}}
|
{{text-editor value=strain.notes update=(action "notesDidChange")}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
Reference in a new issue