chore: update components

This commit is contained in:
Benjamin Canac
2021-11-18 18:53:07 +01:00
parent a5a78f9b94
commit 4605b8da32
4 changed files with 126 additions and 310 deletions

View File

@@ -13,7 +13,6 @@
<input
:id="name"
ref="input"
v-focus="autofocus"
:name="name"
:value="modelValue"
:type="type"
@@ -43,7 +42,7 @@
</template>
<script>
import Focus from '../../directives/focus'
// import Focus from '../../directives/focus'
import Icon from '../elements/Icon'
@@ -51,9 +50,9 @@ export default {
components: {
Icon
},
directives: {
focus: Focus
},
// directives: {
// focus: Focus
// },
props: {
modelValue: {
type: [String, Number],