diff --git a/src/components/KInput/KInput.vue b/src/components/KInput/KInput.vue index 662b9f843d..3bed18f78b 100644 --- a/src/components/KInput/KInput.vue +++ b/src/components/KInput/KInput.vue @@ -35,6 +35,7 @@
@@ -144,6 +146,7 @@ const attrs = useAttrs() const isRequired = computed((): boolean => attrs?.required !== undefined && String(attrs?.required) !== 'false') const inputId = computed((): string => attrs.id ? String(attrs.id) : uuidv4()) +const helpTextId = uuidv4() const strippedLabel = computed((): string => stripRequiredLabel(props.label, isRequired.value)) const hasLabelTooltip = computed((): boolean => !!(props.labelAttributes?.info || slots['label-tooltip']))