Files
solidtime/resources/js/packages/ui/src/EstimatedTimeSection.vue
Gregor Vostrak c78c681ec4 Conditionally show cost column in report tables; Task/Project Modal
Field cleanup; improve estimated time UX
2026-02-11 17:29:41 +01:00

25 lines
778 B
Vue

<script setup lang="ts">
import EstimatedTimeInput from '@/packages/ui/src/Input/EstimatedTimeInput.vue';
import { ClockIcon } from '@heroicons/vue/20/solid';
import { Field, FieldDescription, FieldLabel } from './field';
const model = defineModel<number | null>();
const emit = defineEmits(['submit']);
</script>
<template>
<Field>
<FieldLabel for="time_estimated" :icon="ClockIcon">Time Estimated</FieldLabel>
<EstimatedTimeInput
id="time_estimated"
v-model="model"
@submit="emit('submit')"></EstimatedTimeInput>
<FieldDescription>
You can type natural language like
<span class="font-semibold">2h 30m</span>
</FieldDescription>
</Field>
</template>
<style scoped></style>