Autocomplete functionality should be ignored if the user presses escape #1536
Labels
Bug
A error that causes the feature to behave differently than what was expected based on design docs
Milestone
If the user is entering information into an autocomplete component and presses the 'escape' key, the component should not attempt to fill in the rest of the data.
I have an account (0.0.258xxx) which I have the key for. If I wanted to set the fee payer to be account 0.0.2, the autocomplete feature prevents me from doing this. I tried to enter 0.0.2 then press enter, or tab. Both filled in the rest of the account (0.0.258xxx) as would be expected. When I pressed escape, the popup disappeared and the field only showed 0.0.2, but then I pressed tab or enter, and the field fills in the rest (0.0.258xxx). If I click out of the field at any time, the current actual type value (0.0.2) remains as expected.
The solution would be to ensure that when 'escape' is pressed, the autocomplete does not fill in the rest of the field when tab or enter is then pressed.
The text was updated successfully, but these errors were encountered: