<template>
  <q-input v-model="value" outlined :label="label" dense />
</template>

<script setup>
import { ref, computed, useAttrs } from 'vue';
import {QInput} from 'quasar'

const props = defineProps(['modelValue']);
const emit = defineEmits(['update:modelValue']);
const attrs = useAttrs();
const label = ref(attrs.description);

const value = computed({
  get() {
    return props.modelValue;
  },
  set(value) {
    emit('update:modelValue', value);
  },
});
</script>
