From 94326ff68a57e3f335fe194f7c91b444335dd599 Mon Sep 17 00:00:00 2001 From: Javad Shariati Date: Wed, 1 Oct 2025 08:04:14 +0330 Subject: [PATCH] feat: support ole prop in RcSelect for accessibility --- src/Select.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Select.tsx b/src/Select.tsx index b9e2e557..8188fb26 100644 --- a/src/Select.tsx +++ b/src/Select.tsx @@ -179,6 +179,12 @@ export interface SelectProps void; classNames?: Partial>; styles?: Partial>; + + // >>> Accessibility + // https://github.com/ant-design/ant-design/issues/46030 + // https://github.com/ant-design/ant-design/issues/53713 + // https://github.com/ant-design/ant-design/pull/55185#discussion_r2389642896 + role?: string; } function isRawValue(value: DraftValueType): value is RawValueType {