-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
SearchChoices - Is it possible to pre populate the search string #30
Comments
Hello @ettiennelr , search_choices doesn't support this possibility at the moment. Sorry for the inconvenience and thanks for mentionning this potential enhancement. |
…Ferraro-IRForever #31 * Added padding parameter to set the padding around the DropdownButton, thanks to @luis-cruzt #27 * Migrated buttons to non-deprecated versions * Added the possibility to call the dialog with the search terms from a button, thanks to @ettiennelr #30
Hello @ettiennelr , Version 2.0.0 now provides a way to solve this through the use of the new parameter Can you please let me know whether I can close this request? Cheers! |
Fantastic
I will let you know
…On Sun, 07 Mar 2021, 01:08 lcuis, ***@***.***> wrote:
Hello @ettiennelr <https://github.com/ettiennelr> ,
Version 2.0.0 now provides a way to solve this through the use of the new
parameter setOpenDialog.
This is demonstrated in the example app as "Single dialog open and set
search terms".
Can you please let me know whether I can close this request?
Cheers!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#30 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB6J7557NCKRYUAWUHAB5X3TCKYX3ANCNFSM4XQ5YE5Q>
.
|
Closing due to inactivity. Feel free to reopen if needed. |
@lcuis How can I make a search preselected with setOpenDialog ? I used it to focus the element only. My case open in showModalBottomSheet |
Hello @viniciusweber , Sorry, I'm afraid the |
Thanks for the answer, I use SearchChoices.single() inside a showModalBottomSheet, my intention would be when opening the showModalBottomSheet again, keep the previous search written in the box equal to the topic owner |
Oh, sorry @viniciusweber , I misunderstood. The best way for me to help you would be if you could open a new issue with your code example. I think this would help me understand your need. |
Hi
Is it possible to set the search string on the widget and then have it open by setting its focus?
Example:
I have a widget with an image that contained a string value. see image 1
When the user taps the image I want to automatically set the search string in SearchChoices and have the dialog open and the lookups filtered. see image 2
The text was updated successfully, but these errors were encountered: