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