Skip to content

TaskView is a self-hosted project and task management platform focused on clarity, ownership, and control. TaskView is built for teams that want a transparent, self-hosted alternative to SaaS task managers.

543 B
Raw Blame
<template>
  <SprintForm
    v-model="model"
    :submit-label="t('sprints.create')"
    :loading="loading"
    @submit="emit('submit')"
    @cancel="emit('cancel')"
  />
</template>

<script setup lang="ts">
import { useI18n } from 'vue-i18n'
import SprintForm from './SprintForm.vue'
import type { SprintFormValue } from '@/types/sprints.types'

const model = defineModel<SprintFormValue>({ required: true })

defineProps<{ loading?: boolean }>()

const emit = defineEmits<{
  submit: []
  cancel: []
}>()

const { t } = useI18n()
</script>