We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
downshift
node
npm
yarn
Relevant code or config
<Downshift<ItemData> onChange={selection => selection && onItemSelected(selection)} {...{ initialInputValue, initialSelectedItem, onInputValueChange, itemToString, inputValue, }} initialInputValue="test" >
What you did: I passed initialInputValue, initialSelectedItem, and then both in an attempt to change the initial value received from getInputProps().
value
getInputProps()
What happened: Initial value and selected item were empty, and the itemToString function was never called until an item was selected.
itemToString
Reproduction repository:
None
Problem description: <Downshift> component did not honor initialInputValue or initialSelectedItem
<Downshift>
Suggested solution:
Fix any bug, document any applicable situation where it doesn't make semantic sense for the Downshift component to respect initial values.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
downshift
version: 9.0.8 (also 8.1.0)node
version: v18.17.1npm
(oryarn
) version: pnpm 8.7.5Relevant code or config
What you did:
I passed initialInputValue, initialSelectedItem, and then both in an attempt to change the initial
value
received fromgetInputProps()
.What happened:
Initial value and selected item were empty, and the
itemToString
function was never called until an item was selected.Reproduction repository:
None
Problem description:
<Downshift>
component did not honor initialInputValue or initialSelectedItemSuggested solution:
Fix any bug, document any applicable situation where it doesn't make semantic sense for the Downshift component to respect initial values.
The text was updated successfully, but these errors were encountered: