From b51233d92bef29d6f9eff13e68d76d2d32af566b Mon Sep 17 00:00:00 2001 From: justian Date: Wed, 11 Dec 2024 14:09:01 +0100 Subject: [PATCH] fix: pass required prop to radio group --- .changeset/smart-beers-begin.md | 5 +++++ packages/components-react/radio-group-react/src/index.tsx | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/smart-beers-begin.md diff --git a/.changeset/smart-beers-begin.md b/.changeset/smart-beers-begin.md new file mode 100644 index 00000000000..56b3d0f1f42 --- /dev/null +++ b/.changeset/smart-beers-begin.md @@ -0,0 +1,5 @@ +--- +"@utrecht/radio-group-react": patch +--- + +pass required prop to radio group diff --git a/packages/components-react/radio-group-react/src/index.tsx b/packages/components-react/radio-group-react/src/index.tsx index 4cd777bb99d..918bcb5b871 100644 --- a/packages/components-react/radio-group-react/src/index.tsx +++ b/packages/components-react/radio-group-react/src/index.tsx @@ -91,6 +91,7 @@ export const RadioGroup = forwardRef( key={index} name={name} disabled={disabled} + required={required} onChange={onChange} onInput={onInput} onFocus={onFocus}