Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adobe/react-spectrum
/ select
Function
select
packages/@react-spectrum/s2/src/ComboBox.tsx:586–590 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
584
useImperativeHandle(ref, () => ({
585
...createFocusableRef(domRef, inputRef),
586
select() {
587
if (inputRef.current) {
588
inputRef.current.select();
589
}
590
},
591
getInputElement() {
592
return inputRef.current;
593
}
Callers
nothing calls this directly
Calls
1
select
Method · 0.65
Tested by
no test coverage detected