@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.169
1
+ 0.0.170
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@afeefa/vue-app",
3
- "version": "0.0.169",
3
+ "version": "0.0.170",
4
4
  "description": "",
5
5
  "author": "Afeefa Kollektiv <kollektiv@afeefa.de>",
6
6
  "license": "MIT",
@@ -33,3 +33,10 @@ export default class ACheckbox extends Vue {
33
33
  }
34
34
  }
35
35
  </script>
36
+
37
+
38
+ <style lang="scss" scoped>
39
+ .v-input--checkbox {
40
+ margin: 0;
41
+ }
42
+ </style>
@@ -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>