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

searchInputDecoration not working #78

Closed
rhernandez-itemsoft opened this issue May 4, 2022 · 7 comments
Closed

searchInputDecoration not working #78

rhernandez-itemsoft opened this issue May 4, 2022 · 7 comments

Comments

@rhernandez-itemsoft
Copy link

When set "searchInputDecoration" this not working:

searchInputDecoration: InputDecoration(...
this not set my custom "decoration"

@lcuis
Copy link
Owner

lcuis commented May 4, 2022

Hello @rhernandez-itemsoft ,

Without more explanations, without minimalist code example to reproduce your issue, I cannot provide better support than pointing you in the direction of the example for searchInputDecoration:
https://github.com/lcuis/search_choices#Single-dialog-custom-searchInputDecoration

I hope this will solve your issue.

@rhernandez-itemsoft
Copy link
Author

Sorry:

How can I change the design?
image

image

image

@rhernandez-itemsoft
Copy link
Author

Currently we can change the layout of the input search that is displayed in the dialog window, but how do we change the layout of the root input field search (SearchChoices.single...)

@lcuis
Copy link
Owner

lcuis commented May 5, 2022

Hi @rhernandez-itemsoft ,

Thanks a lot for the clarification. Though, this is not exactly what you are asking for, you may want to try the use of fieldPresentationFn as it was similarly needed for #69 to customize the display of the resulting field.

@lcuis
Copy link
Owner

lcuis commented Jul 6, 2022

Hello @rhernandez-itemsoft ,

I just added the fieldDecoration parameter with this commit: 2999051

I will try to integrate more fixes and enhancements before publication to pub.dev .

In the meanwhile, you can use the latest GitHub repository code with the following in your pubspec.yaml:

  search_choices:
    git:
      url: https://github.com/lcuis/search_choices.git

@lcuis
Copy link
Owner

lcuis commented Jul 7, 2022

Version 2.0.21 is published on pub.dev .
The following now should be fine in pubspec.yaml:

  search_choices:

@lcuis
Copy link
Owner

lcuis commented Jul 24, 2022

Closing for inactivity. Feel free to reopen if needed.

@lcuis lcuis closed this as completed Jul 24, 2022
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

No branches or pull requests

2 participants