Skip to content

Commit 54ba9dc

Browse files
authored
Merge pull request #1171 from dnum-mi/1170-feat-ajouter-rich-au-composant-dsfrradiobuttonset
feat(DsfrRadioButtonSet): ✨ ajoute la propriété rich pour les radio buttons enrichis
2 parents e440ddd + f67e636 commit 54ba9dc

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
:small="small"
8484
:inline="inline"
8585
:model-value="modelValue"
86+
:rich="rich"
8687
@update:model-value="onChange($event as string)"
8788
/>
8889
</slot>

0 commit comments

Comments
 (0)