fix: make BaseInput.vue actually model the text that is inputted

This commit is contained in:
Ari Yeger
2025-07-23 12:07:34 -04:00
parent 5e9654728e
commit 8eaa0c3d06

View File

@ -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>