File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ const SelectSelector: React.FC<SelectorProps> = ({
4141 showSearch,
4242 autoFocus,
4343 accessibilityIndex,
44+ tabIndex,
4445
4546 removeIcon,
4647 choiceTransitionName,
@@ -170,6 +171,7 @@ const SelectSelector: React.FC<SelectorProps> = ({
170171 value = { searchValue }
171172 onKeyDown = { onInputKeyDown }
172173 onChange = { onInputChange }
174+ tabIndex = { tabIndex }
173175 />
174176
175177 { /* Measure Node */ }
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ const SingleSelector: React.FC<SelectorProps> = ({
2020 open,
2121 values,
2222 placeholder,
23+ tabIndex,
2324
2425 showSearch,
2526 searchValue,
@@ -55,6 +56,7 @@ const SingleSelector: React.FC<SelectorProps> = ({
5556 value = { inputValue }
5657 onKeyDown = { onInputKeyDown }
5758 onChange = { onInputChange }
59+ tabIndex = { tabIndex }
5860 />
5961 </ span >
6062
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ export interface InnerSelectorProps {
2929 searchValue : string ;
3030 accessibilityIndex : number ;
3131 open : boolean ;
32+ tabIndex ?: number ;
3233
3334 onInputKeyDown : React . KeyboardEventHandler < HTMLInputElement | HTMLTextAreaElement > ;
3435 onInputChange : React . ChangeEventHandler < HTMLInputElement | HTMLTextAreaElement > ;
@@ -54,6 +55,7 @@ export interface SelectorProps {
5455
5556 autoFocus ?: boolean ;
5657 accessibilityIndex : number ;
58+ tabIndex ?: number ;
5759 disabled ?: boolean ;
5860 placeholder ?: React . ReactNode ;
5961 removeIcon ?: RenderNode ;
You can’t perform that action at this time.
0 commit comments