<script setup>

const model = defineModel();
const props = defineProps({
  readonly: {
    type: Boolean,
    default: false
  },
  dateOnly: {
    type: Boolean,
    default: false
  },
});

</script>

<template>
  <input class="pankow-text-input" :type="dateOnly ? 'date' : 'datetime-local'" :readonly="readonly" v-model="model"/>
</template>

<style>

/* using TextInput styles */

</style>
