8000 [Autocomplete] When min chars is not set, keep loading after initial load by weaverryan · Pull Request #919 · symfony/ux · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Autocomplete] When min chars is not set, keep loading after initial load #919

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

Merged

Conversation

weaverryan
Copy link
Member
Q A
Bug fix? no
New feature? yes
Tickets From conversation on Slack!
License MIT

This helps with the case where you type 3 characters, get a load, then backspace (or clear all the characters) and loading stops and you can't get new options.

You can see the current behavior by going to https://ux.symfony.com/autocomplete, typing "ban", then backspacing. You will only see "banana" as an option, even if you clear it, unless you guess the first 3 chars of some other option.

Cheers!

@weaverryan weaverryan force-pushed the autocomplete-relaxing-min-value-behavior branch from 4ca8746 to 30a1e7d Compare June 2, 2023 10:10
@weaverryan weaverryan merged commit 320ea74 into symfony:2.x Jun 2, 2023
@weaverryan weaverryan deleted the autocomplete-relaxing-min-value-behavior branch June 2, 2023 13:05
javiereguiluz added a commit to javiereguiluz/EasyAdminBundle that referenced this pull request Jun 2, 2023
This PR was squashed before being merged into the 4.x branch.

Discussion
----------

Compat for newer doctrine/lexer

Hi!

I noticed a deprecation this morning on UX and fixed it there - symfony/ux#919. Since I stole this code from this library, I thought I should return the fix ;).

Cheers!

Commits
-------

3788e0b Compat for newer doctrine/lexer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0