Skip to content

Material async with autocomplete #903

Open
@iceman91176

Description

@iceman91176

I'm submitting a


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

I'm using


NG Dynamic Forms Version: `7.0.2`

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

Description

I am looking for a solution that provides autocompletion for async datasources.
Let's say i have a webservice that can be queried for contact-objects. To reduce the amount of Objects that is retrieved/displayed, a minimum of X characters has to be entered. The characters are transmitted as a query-string to the webservices and just returns the matches.

I am able to bind the webservice to the model.list property like this

model.list = searchService.search("http://apis.****/api/persons","");

but

  • the whole list is retrieved
  • entering additional characters does not filter, nor triggers another call

Seems to be related to #815 #829 #878

How can we achieve that ? With a custom component ?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions