diff --git a/CHANGELOG.md b/CHANGELOG.md index 43614334..79359281 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # CHANGELOG +## 1.8.4 +- Fix controlled/uncontrolled input bug for `RadioTabgroup` + ## 1.8.3 - Add default styles for `Badge` diff --git a/package.json b/package.json index c4d6fc5f..5c7309f4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fictoan-react", - "version": "1.8.3", + "version": "1.8.4", "private": false, "description": "", "type": "module", diff --git a/src/components/Form/RadioButton/RadioTabGroup.tsx b/src/components/Form/RadioButton/RadioTabGroup.tsx index 1c4ce36e..29877747 100644 --- a/src/components/Form/RadioButton/RadioTabGroup.tsx +++ b/src/components/Form/RadioButton/RadioTabGroup.tsx @@ -15,7 +15,6 @@ const RadioTabGroupOptions = ({ options, defaultValue, value, required, ...props type="radio" {...props} {...option} - defaultChecked={defaultValue === option.value} checked={value === option.value} />