-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggest: Retain entered value on unfocus #3071
Comments
@silverwind could you perhaps make a gif demonstrating the issue? |
Sure, Let me show you Next the same for I think this is more like a bug than a feature request really. |
nice. yeah i feel the |
I'll look into it. |
Not sure I can actually contribute as I'm failing to get a development environment up.
(This is using node 10.12, yarn 1.10.1, macOS 10.14) My basic idea was to drop this line and debug what's happening to this value. |
yeah i'm working on resolving this locally... |
@silverwind i just merged #3078 so please merge latest i have never seen this |
@silverwind i just opened #3289 to address this issue. does it seem reasonable? |
Looking good to me based on your gif. My only remaining concern is now the full-text selection on focus in |
Environment
@blueprintjs/select 3.2.0
Feature request
I'm trying to make
Suggest
work for search suggestions where users can enter any value and be provided with search suggestions, very similar to Google's search box.My issue is that
Suggest
discards any non-matching user-entered value on unfocus. If no value is selected, it clears the entered value on unfocus. If a value has been previously selected, the entered value is replaced with the previously selected value.Examples
I'd suggest a new option
keepEnteredValues
option to retain non-matching values or alternatively, make it the default behaviour, like it is forMultiSelect
.The text was updated successfully, but these errors were encountered: