File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -63,15 +63,15 @@ Description:
63
63
<q-form autofocus v-on:submit.prevent =" submitClass" >
64
64
<p class =" title" >Add Class Name:</p >
65
65
<q-input label =" Add your class here" filled dark autofocus true hide-bottom-space v-model =" classText"
66
- @keyup .enter =" submitClass" ></ q-input >
66
+ @keydown .enter =" submitClass(classText, this.activeHTML) " / >
67
67
<q-btn id =" comp-btn" class =" sidebar-btn" color =" secondary" label =" Submit Attribute"
68
68
:disable =" classText.length > 0 ? false : true" @click =" submitClass(classText, this.activeHTML)" />
69
69
</q-form >
70
70
<q-form autofocus v-on:submit.prevent =" addBinding" >
71
71
<p class =" title" >Add Binding:</p >
72
72
73
73
<q-input label =" Add two way binding here" filled dark autofocus true hide-bottom-space v-model =" bindingText"
74
- @keyup .enter =" addBinding" ></q-input >
74
+ @keydown .enter =" addBinding(bindingText, this.activeHTML) " ></q-input >
75
75
<q-btn id =" comp-btn" class =" sidebar-btn" color =" secondary" label =" Add Binding"
76
76
:disable =" bindingText.length > 0 ? false : true" @click =" addBinding(bindingText, this.activeHTML)" >
77
77
</q-btn >
You can’t perform that action at this time.
0 commit comments