MCPcopy
hub / github.com/JedWatson/react-select / setInputValue

Function setInputValue

packages/react-select/src/__tests__/Select.test.tsx:2052–2054  ·  view source on GitHub ↗
(val: string)

Source from the content-addressed store, hash-verified

2050 rerender(<Select {...renderProps} isSearchable />);
2051
2052 const setInputValue = (val: string) => {
2053 rerender(<Select {...renderProps} autoFocus inputValue={val} />);
2054 };
2055
2056 setInputValue('four');
2057

Callers 5

handleKeyDownFunction · 0.85
CreatableInputOnlyFunction · 0.85
Select.test.tsxFile · 0.85
handleKeyDownFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…