From 21e47155398b57b66fd3a0f4d60cb1f697848192 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bed=C5=99ich=20Schindler?= Date: Tue, 17 Oct 2023 10:54:52 +0200 Subject: [PATCH] Move `transferProps` back from `fieldset` to `input` in `RadioField` (#481) --- src/components/Radio/Radio.jsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/components/Radio/Radio.jsx b/src/components/Radio/Radio.jsx index d77a064a..67f4eb78 100644 --- a/src/components/Radio/Radio.jsx +++ b/src/components/Radio/Radio.jsx @@ -26,7 +26,6 @@ export const Radio = ({ return (
` element. This is a placeholder to prevent React from - // showing the warning about uncontrolled input: "You provided a `checked` prop to a form field - // without an `onChange` handler." - onChange={() => {}} type="radio" value={option.value} />