primereact icon indicating copy to clipboard operation
primereact copied to clipboard

AutoComplete: Resetting value doesn't work

Open Minitron5000 opened this issue 1 year ago • 3 comments

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

  1. Select 'Austraila' in autocomplete input
  2. Press 'Reset' button
  3. 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

Minitron5000 avatar Feb 26 '24 13:02 Minitron5000

Thanks for the reproducer!

melloware avatar Feb 26 '24 14:02 melloware

Hi I think this bug is back. tried to reproduce here https://stackblitz.com/edit/mpjbld-7qabtz it occurs even in the original reproduction sample of this issue. can we reopen this? or can we create a new one?

ivaneliasoo avatar Apr 02 '24 19:04 ivaneliasoo

@nitrogenous @melloware maybe I can help with this if you provide me more context

ivaneliasoo avatar May 12 '24 16:05 ivaneliasoo