Skip to content

Commit d85a4d7

Browse files
committed
Ajoute l'option Rich pour le DsfrRadioButtonSet
1 parent 3c8804c commit d85a4d7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/components/DsfrRadioButton/DsfrRadioButton.types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export type DsfrRadioButtonSetProps = {
2828
validMessage?: string
2929
legend?: string
3030
hint?: string
31+
rich?: boolean
3132
modelValue?: string | number | boolean | undefined
3233
options?: Omit<DsfrRadioButtonProps, 'modelValue'>[]
3334
ariaInvalid?: boolean | 'grammar' | 'spelling'

src/components/DsfrRadioButton/DsfrRadioButtonSet.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ const describedByElement = computed(() => message.value ? `messages-${props.titl
8383
:inline="inline"
8484
:model-value="modelValue"
8585
@update:model-value="onChange($event as string)"
86+
:rich="rich"
8687
/>
8788
</slot>
8889

0 commit comments

Comments
 (0)