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) => {