From fd7bdace3b08a498248f3fea048afe955cb19271 Mon Sep 17 00:00:00 2001 From: Laurent <58115082+naaturel@users.noreply.github.com> Date: Thu, 20 Mar 2025 08:34:14 +0100 Subject: [PATCH] Change a bit of style --- front/src/components/InputField.vue | 9 ++++++++- front/src/utils/CutomMap.ts | 8 ++++++-- front/src/views/CreateView.vue | 20 +++++++++++++++++--- front/src/views/EventView.vue | 2 +- 4 files changed, 32 insertions(+), 7 deletions(-) diff --git a/front/src/components/InputField.vue b/front/src/components/InputField.vue index d71a4f0..1740085 100644 --- a/front/src/components/InputField.vue +++ b/front/src/components/InputField.vue @@ -3,6 +3,13 @@ let value; const emit = defineEmits(['update:value']); +const props = defineProps({ + placeholder: { + type: [String], + required: false + } +}); + // Method to handle the update const updateValue = (event : any) => { emit('update:value', event.target.value); @@ -11,7 +18,7 @@ const updateValue = (event : any) => {