primefaces / primefaces/primereact
AutoComplete: Resetting value doesn't work
Open
Nobody has claimed this yet.
Type: Bug
- Dominant language
- CSS
- Stars
- 8.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
After resetting AutoComplete's value, input doesn't allow to select latest added value.
Reproducer
https://stackblitz.com/edit/5tsd5s
PrimeReact version
10.5.1
React version
18.x
Language
ALL
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
- Select 'Austraila' in autocomplete input
- Press 'Reset' button
- Select 'Austraila' in autocomplete input
Result: input is empty, unable to select same value after resetting
Expected behavior
Expected: should be able to select same value after resetting
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.