autocompletejs
autocompletejs copied to clipboard
Placeholder text can coexist with input text
If the widget has placeholder text:
(1) User types in stuff but doesn't accept a value or create a token. (2) User clicks away from the widget. (3) Widget now shows both the placeholder text and the input text. Looks bad.
Suggested fix:
On the click away, check not only for the existence of tokens when determining whether to show the placeholder, but also for input text.