Skip to content
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

Remove require_selection from autocomplete #947

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

richard-to
Copy link
Collaborator

Forgot to remove this when creating the autocomplete component initially.

The require_selection property overall is not too helpful for Mesop. The require_selection can be implemented in Mesop by just using the AutocompleteSelectionChangeEvent when populating valid option values.

Forgot to remove this when creating the autocomplete component
initially.

The require_selection property overall is not too helpful for Mesop.
The require_selection can be implemented in Mesop by just using the
AutocompleteSelectionChangeEvent when populating valid option values.
@wwwillchen
Copy link
Collaborator

It's a pretty new component, but may be worth a quick check within Google to see if this parameter is being used since removing it is technically a breaking change (worst case, I'd just call it out the next time you sync into google3).

Looking at GitHub, I don't think this parameter is used: https://github.com/search?q=%22+me.autocomplete%28%22+language%3APython&type=code

@richard-to
Copy link
Collaborator Author

Ah yeah, good point. Yeah, I'll check.

@richard-to richard-to merged commit 97dc3db into google:main Sep 12, 2024
5 checks passed
@richard-to richard-to deleted the autocomplete branch September 28, 2024 18:24
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.

2 participants