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

Material: filtering on autocomplete input field #829

Closed
mpschaeuble opened this issue Aug 6, 2018 · 2 comments
Closed

Material: filtering on autocomplete input field #829

mpschaeuble opened this issue Aug 6, 2018 · 2 comments

Comments

@mpschaeuble
Copy link

I'm submitting a


[ ] Bug / Regression
[x] Feature Request / Proposal
[ ] Question

I'm using


NG Dynamic Forms Version: `6.0.8`

[ ] Basic UI
[ ] Bootstrap UI  
[ ] Foundation UI
[ ] Ionic UI
[ ] Kendo UI
[x] Material  
[ ] NG Bootstrap
[ ] Prime NG

Description

By default, material's autocomplete component displays all values as a list independent of what the user already entered. But usually, the user expects the suggestions to be prefix/infix filtered dependent on the users input. Are there any plans to support filtering as described in section 'Adding a custom filter' https://material.angular.io/components/autocomplete/overview? I could imagine that ng-dynamic-forms provides support for some basic filtering methods (prefix, infix, postfix).

@Karamuto
Copy link
Collaborator

Karamuto commented Aug 6, 2018

Hello @mpschaeuble ,

so the idea would be to use an Observable instead of an array for the 'list' property. Sounds like a good idea to me. Sadly this would require a 6.1 release as this is breaking with the current behavior. This was also already requested here: #355

Maybe in the same spot it could be solved #815

@udos86
Copy link
Owner

udos86 commented Sep 11, 2018

Good news, everybody.

Trying to make this work in next patch version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants