From d680ea3d30465820bba5ff2fc1856fea252076b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E8=89=B3=E5=85=B5?= <66234749+QDyanbing@users.noreply.github.com> Date: Wed, 24 Dec 2025 10:14:19 +0800 Subject: [PATCH] fix: fix cursor style when Select has showSearch and disabled props (#56340) --- components/select/style/select-input.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/components/select/style/select-input.ts b/components/select/style/select-input.ts index 04e4320bbb..3c55f39f72 100644 --- a/components/select/style/select-input.ts +++ b/components/select/style/select-input.ts @@ -218,6 +218,10 @@ const genSelectInputStyle: GenerateStyle = (token) => { background: token.colorBgContainerDisabled, color: token.colorTextDisabled, cursor: 'not-allowed', + + input: { + cursor: 'not-allowed', + }, }, // ========================================================== @@ -281,7 +285,7 @@ const genSelectInputStyle: GenerateStyle = (token) => { // ======================== Show Search ======================= { - [`&-show-search:not(${componentCls}-customize-input)`]: { + [`&-show-search:not(${componentCls}-customize-input):not(${componentCls}-disabled)`]: { cursor: 'text', }, },