Skip to content

Commit 6b1d9c8

Browse files
committed
Fix key warming in radio group wrapper.
1 parent 1968a45 commit 6b1d9c8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

frontend/packages/volto-form-block/src/components/Wrappers/RadioGroupWrapper.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ const RadioGroupWrapper = (props) => {
5252
isInvalid={error}
5353
>
5454
{options.map((option) => (
55-
<OptionWidget value={option[0]}>{option[1]}</OptionWidget>
55+
<OptionWidget key={option[0]} value={option[0]}>
56+
{option[1]}
57+
</OptionWidget>
5658
))}
5759
</Widget>
5860
</FormFieldWrapper>

0 commit comments

Comments
 (0)