This commit is contained in:
@@ -107,6 +107,7 @@
|
||||
:error-messages="form().serverErrors(this, 'notes')"
|
||||
ref="notes"
|
||||
data-cy="notes"
|
||||
id="notes"
|
||||
@input="fieldValueChanged('notes')"
|
||||
auto-grow
|
||||
></v-textarea>
|
||||
@@ -348,7 +349,7 @@ export default {
|
||||
}
|
||||
|
||||
this.toUsers.push(selected);
|
||||
this.pickListSelectedUserId = 0;
|
||||
this.pickListSelectedUserId = null;
|
||||
this.updateSave();
|
||||
},
|
||||
ayaTypes: function() {
|
||||
@@ -511,6 +512,7 @@ export default {
|
||||
vm.obj.name = `${vm.$ay.t("MemoRe")} ${vm.obj.name}`;
|
||||
vm.obj.notes = `\n\n-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n${header}\n\n${vm.obj.notes}`;
|
||||
vm.obj.id = 0;
|
||||
|
||||
vm.composing = true;
|
||||
generateMenu(vm);
|
||||
window.$gz.form.setFormState({
|
||||
@@ -519,7 +521,13 @@ export default {
|
||||
valid: true,
|
||||
loading: false
|
||||
});
|
||||
|
||||
vm.updateSave();
|
||||
this.$nextTick(() => {
|
||||
let el = document.getElementById("notes");
|
||||
el.focus();
|
||||
el.setSelectionRange(0, 0);
|
||||
});
|
||||
}
|
||||
|
||||
//end methods
|
||||
|
||||
Reference in New Issue
Block a user