From 72527ad82abd086209b15b1fc48edb40b22d4020 Mon Sep 17 00:00:00 2001 From: axolotle Date: Thu, 27 Jul 2023 17:41:14 +0200 Subject: [PATCH] TextInput: remove prop placeholder --- components/TextInput.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/components/TextInput.vue b/components/TextInput.vue index c04299e..1e9d96f 100644 --- a/components/TextInput.vue +++ b/components/TextInput.vue @@ -6,11 +6,8 @@ const props = withDefaults( defineProps<{ name: string type: HTMLInputElement['type'] - placeholder?: string }>(), - { - placeholder: '', - }, + {}, ) const attrs = useAttrs() const { describedBy, invalid } = inject(formGroupExtras, { @@ -37,7 +34,6 @@ const validationListeners = { :value="value" :name="name" :type="type" - :placeholder="placeholder" :aria-invalid="invalid" :aria-describedby="describedBy" class="input input-bordered"