@afeefa/vue-app 0.0.169 → 0.0.170
Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.170
|
package/package.json
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
<template>
|
2
2
|
<a-text-field
|
3
|
+
ref="input"
|
3
4
|
v-model="model[name]"
|
4
5
|
:label="label || name"
|
5
6
|
:validator="validator"
|
@@ -14,5 +15,8 @@ import { FormFieldMixin } from '../FormFieldMixin'
|
|
14
15
|
|
15
16
|
@Component
|
16
17
|
export default class FormFieldText extends Mixins(FormFieldMixin) {
|
18
|
+
setFocus () {
|
19
|
+
this.$refs.input.setFocus(true)
|
20
|
+
}
|
17
21
|
}
|
18
22
|
</script>
|