We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2c48c0b + 8a79c2d commit aad37a5Copy full SHA for aad37a5
src/components/DsfrInput/DsfrInputGroup.vue
@@ -23,6 +23,7 @@ const props = withDefaults(defineProps<{
23
labelClass: '',
24
modelValue: '',
25
wrapperClass: '',
26
+ placeholder: undefined,
27
errorMessage: undefined,
28
validMessage: undefined,
29
})
@@ -50,7 +51,7 @@ const messageClass = computed(() => props.errorMessage ? 'fr-error-text' : 'fr-v
50
51
:is-invalid="!!errorMessage"
52
:label="label"
53
:hint="hint"
- :description-id="descriptionId"
54
+ :description-id="(message && descriptionId) || undefined"
55
:label-visible="labelVisible"
56
:model-value="modelValue"
57
:placeholder="placeholder"
0 commit comments