From 2e8b088c592e3f904a3a52dc4590137a16652faf Mon Sep 17 00:00:00 2001 From: Gregor Vostrak Date: Mon, 24 Jun 2024 18:32:43 +0200 Subject: [PATCH] improve project edit modal: fix enter submit on billable input and add labels --- .../Project/ProjectEditBillableSection.vue | 6 +++- .../Common/Project/ProjectEditModal.vue | 31 ++++++++++++------- 2 files changed, 25 insertions(+), 12 deletions(-) diff --git a/resources/js/Components/Common/Project/ProjectEditBillableSection.vue b/resources/js/Components/Common/Project/ProjectEditBillableSection.vue index 1aa5a069..4613430e 100644 --- a/resources/js/Components/Common/Project/ProjectEditBillableSection.vue +++ b/resources/js/Components/Common/Project/ProjectEditBillableSection.vue @@ -46,6 +46,7 @@ const billableOptionInfoTexts: { [key in BillableKey]: string } = { const billableOptionInfoText = computed(() => { return billableOptionInfoTexts[billableRateSelect.value]; }); +const emit = defineEmits(['submit']);