fix: make BaseInput.vue actually model the text that is inputted
This commit is contained in:
@ -1,9 +1,13 @@
|
||||
<script setup lang="ts" xmlns="http://www.w3.org/1999/html">
|
||||
import vRecolorText from '@/directives/vRecolorText.ts';
|
||||
const model = defineModel<string>({
|
||||
type: String,
|
||||
default: ''
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<input v-recolor-text>
|
||||
<input v-recolor-text v-model="model">
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
Reference in New Issue
Block a user