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:
Nidhi Agarwal 2017-12-06 13:07:12 +05:30 committed by Wei Zhu
parent 0402e0333d
commit 6d0b488d7f

View File

@ -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[];