Open digitalsigi opened 3 years ago
@digitalsigi is it related? https://github.com/Blazored/Typeahead/issues/232
@rybkov Oh yea! Overlooked it. Would be great to have this functionality,
Actually I forked this project and implemented some additions, but they never made it into the main stream. Now the fork is outdated.
Hi, I am using typeahead component for a while now and discovered a - may be - new requirement:
We have the usecase, that user should be able to select from suggestion list or when no suggestions are available, take the new entered value. This works fine. However if user makes a typo text of new entry cannot be edited has to be entered again.
What I want to do: I managed tos et the selected value to previously entered text. User should then be able to edit this text. What happens is, that as soon as the field is entered all text is cleared. If field is not cleared it would be possible to use component as a sort of input field with autocomplete.
Question: Is clearing the input field a general beheviour or by design or did I simply not find the right way to do it.