From 1cd79e3b0ad218274dac660df7e56de889d0cdc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Zandarin?= <71180446+nikzanda@users.noreply.github.com> Date: Tue, 27 Aug 2024 12:56:54 +0200 Subject: [PATCH] fix: Disable the Rate component within Form.Item when the form is disabled (#50594) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Nicolò Zandarin --- .../__snapshots__/components.test.tsx.snap | 14 +- .../__snapshots__/demo-extend.test.ts.snap | 326 ++++++++++++++++++ .../__snapshots__/demo.test.tsx.snap | 326 ++++++++++++++++++ components/form/demo/disabled.tsx | 4 + components/rate/index.tsx | 7 + 5 files changed, 670 insertions(+), 7 deletions(-) diff --git a/components/config-provider/__tests__/__snapshots__/components.test.tsx.snap b/components/config-provider/__tests__/__snapshots__/components.test.tsx.snap index dd9d9eb0a4..5d253cb98c 100644 --- a/components/config-provider/__tests__/__snapshots__/components.test.tsx.snap +++ b/components/config-provider/__tests__/__snapshots__/components.test.tsx.snap @@ -22680,9 +22680,9 @@ exports[`ConfigProvider components Rate configProvider 1`] = ` exports[`ConfigProvider components Rate configProvider componentDisabled 1`] = `