From 94cc754ba869381423978aa13eefa5af3d03ef1d Mon Sep 17 00:00:00 2001 From: sanjayk03-dev Date: Tue, 30 Jan 2024 19:12:11 +0530 Subject: [PATCH] :value to v-model --- src/pug/templates/macros.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pug/templates/macros.pug b/src/pug/templates/macros.pug index 0c05cb5..efffb45 100644 --- a/src/pug/templates/macros.pug +++ b/src/pug/templates/macros.pug @@ -102,7 +102,7 @@ script#macros-template(type="text/x-template") .fa.fa-trash br .gcodeContainer - textarea.new-gcode(id="gcode-field", :value="newGcode" @input="updateNewGcode") + textarea.new-gcode(id="gcode-field", v-model="newGcode" @input="updateNewGcode") button.submit-macros.button-submit(title="Save Macros",@click="confirmSave=true",:disabled="!edited") Save button.submit-macros(title="Cancel Macros",@click="clearMacros",style="margin-left:5px;background-color:#fafafa;",:disabled="initial_tab") Cancel