[react-select] Allow removing tabIndex

react-select sets input element's tabindex to 0 by default, setting tabIndex={null} will remove it
This commit is contained in:
AJ Kovalainen
2018-09-25 13:39:41 +03:00
committed by GitHub
parent b060cd96b9
commit fe59055fc3

View File

@@ -194,7 +194,7 @@ export interface Props<OptionType> {
/* Style modifier methods */
styles?: StylesConfig;
/* Sets the tabIndex attribute on the input */
tabIndex?: string;
tabIndex?: string | null;
/* Select the currently focused option when the user presses tab */
tabSelectsValue?: boolean;
/* The value of the select; reflected by the selected option */