mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-05 23:46:28 +08:00
Select - Moving defaultActiveFirstOption to AbstractSelectProps (#8383)
defaultActiveFirstOption Prop should be exposed to components which are extending AbstractSelectProps, even according the documentation of auto-complete.
This commit is contained in:
parent
0402e0333d
commit
6d0b488d7f
@ -17,6 +17,7 @@ export interface AbstractSelectProps {
|
||||
disabled?: boolean;
|
||||
style?: React.CSSProperties;
|
||||
placeholder?: string;
|
||||
defaultActiveFirstOption?: boolean;
|
||||
dropdownClassName?: string;
|
||||
dropdownStyle?: React.CSSProperties;
|
||||
dropdownMenuStyle?: React.CSSProperties;
|
||||
@ -43,7 +44,6 @@ export interface SelectProps extends AbstractSelectProps {
|
||||
onFocus?: () => any;
|
||||
dropdownMatchSelectWidth?: boolean;
|
||||
optionFilterProp?: string;
|
||||
defaultActiveFirstOption?: boolean;
|
||||
labelInValue?: boolean;
|
||||
getPopupContainer?: (triggerNode: Element) => HTMLElement;
|
||||
tokenSeparators?: string[];
|
||||
|
Loading…
Reference in New Issue
Block a user