Skip to content
New issue

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

Autocomplete multiple defaultValue doesn't get updated #18956

Closed
Kris0x0000 opened this issue Dec 22, 2019 · 3 comments · Fixed by #19070
Closed

Autocomplete multiple defaultValue doesn't get updated #18956

Kris0x0000 opened this issue Dec 22, 2019 · 3 comments · Fixed by #19070
Labels
component: autocomplete This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists

Comments

@Kris0x0000
Copy link

Autocomplete multiple component doesn't get updated when the defaultValue is fetched from the remote API.

https://codesandbox.io/s/affectionate-bhaskara-qmk5i

@mbrookes mbrookes added the status: waiting for author Issue with insufficient information label Dec 22, 2019
@oliviertassinari oliviertassinari added duplicate This issue or pull request already exists component: autocomplete This is the name of the generic UI component, not the React module! and removed status: waiting for author Issue with insufficient information duplicate This issue or pull request already exists labels Dec 25, 2019
@oliviertassinari
Copy link
Member

We have already seen this feedback in the past. Please use the controllable API if you want to change the default value. While the input allows different default values, we don't.
I think that we should either warn against it or support it. Either way, there is a hole to fill.

@oliviertassinari oliviertassinari added core Infrastructure work going on behind the scenes docs Improvements or additions to the documentation labels Jan 4, 2020
@oliviertassinari
Copy link
Member

Duplicate of #11150

@oliviertassinari oliviertassinari marked this as a duplicate of #11150 Apr 26, 2020
@oliviertassinari oliviertassinari added duplicate This issue or pull request already exists and removed core Infrastructure work going on behind the scenes docs Improvements or additions to the documentation labels Apr 26, 2020
@jmgomezvarela
Copy link

Was this solved? There is a kind of workarround?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: autocomplete This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants