@modelforms/fontawesome-vuetify 2.8.7 → 2.8.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/components/form/Form.vue
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<v-row v-if="form.title != null">
|
|
5
5
|
<v-col :offset="offset" md="6">
|
|
6
6
|
<v-container>
|
|
7
|
-
<
|
|
7
|
+
<h2>{{ form.title.name }}</h2>
|
|
8
8
|
</v-container>
|
|
9
9
|
</v-col>
|
|
10
10
|
</v-row>
|
|
@@ -82,9 +82,11 @@
|
|
|
82
82
|
</v-row>
|
|
83
83
|
<v-row>
|
|
84
84
|
<v-col offset-md="10" md="1">
|
|
85
|
-
<v-
|
|
86
|
-
|
|
87
|
-
|
|
85
|
+
<v-container>
|
|
86
|
+
<v-btn :disabled="valid" @click="submit($event)">
|
|
87
|
+
{{ Button }}
|
|
88
|
+
</v-btn>
|
|
89
|
+
</v-container>
|
|
88
90
|
</v-col>
|
|
89
91
|
</v-row>
|
|
90
92
|
</v-container>
|
|
@@ -128,7 +130,7 @@ export default{
|
|
|
128
130
|
Button: button,
|
|
129
131
|
validation: this.validation,
|
|
130
132
|
valid: false,
|
|
131
|
-
offset: this.titlePosition(this.form.title
|
|
133
|
+
offset: this.titlePosition(this.form.title)
|
|
132
134
|
}
|
|
133
135
|
},
|
|
134
136
|
emits: [event],
|
|
@@ -169,8 +171,9 @@ export default{
|
|
|
169
171
|
|
|
170
172
|
return false;
|
|
171
173
|
},
|
|
172
|
-
titlePosition(
|
|
173
|
-
|
|
174
|
+
titlePosition(title){
|
|
175
|
+
if(title == undefined) return 0;
|
|
176
|
+
switch(title.position){
|
|
174
177
|
case 'middle':
|
|
175
178
|
return 5;
|
|
176
179
|
case 'right':
|