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> = ({
41
41
showSearch,
42
42
autoFocus,
43
43
accessibilityIndex,
44
+ tabIndex,
44
45
45
46
removeIcon,
46
47
choiceTransitionName,
@@ -170,6 +171,7 @@ const SelectSelector: React.FC<SelectorProps> = ({
170
171
value = { searchValue }
171
172
onKeyDown = { onInputKeyDown }
172
173
onChange = { onInputChange }
174
+ tabIndex = { tabIndex }
173
175
/>
174
176
175
177
{ /* Measure Node */ }
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ const SingleSelector: React.FC<SelectorProps> = ({
20
20
open,
21
21
values,
22
22
placeholder,
23
+ tabIndex,
23
24
24
25
showSearch,
25
26
searchValue,
@@ -55,6 +56,7 @@ const SingleSelector: React.FC<SelectorProps> = ({
55
56
value = { inputValue }
56
57
onKeyDown = { onInputKeyDown }
57
58
onChange = { onInputChange }
59
+ tabIndex = { tabIndex }
58
60
/>
59
61
</ span >
60
62
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ export interface InnerSelectorProps {
29
29
searchValue : string ;
30
30
accessibilityIndex : number ;
31
31
open : boolean ;
32
+ tabIndex ?: number ;
32
33
33
34
onInputKeyDown : React . KeyboardEventHandler < HTMLInputElement | HTMLTextAreaElement > ;
34
35
onInputChange : React . ChangeEventHandler < HTMLInputElement | HTMLTextAreaElement > ;
@@ -54,6 +55,7 @@ export interface SelectorProps {
54
55
55
56
autoFocus ?: boolean ;
56
57
accessibilityIndex : number ;
58
+ tabIndex ?: number ;
57
59
disabled ?: boolean ;
58
60
placeholder ?: React . ReactNode ;
59
61
removeIcon ?: RenderNode ;
You can’t perform that action at this time.
0 commit comments