Skip to content

using ngx-select-ex with api data #83

Open
@Aarti5391

Description

@Aarti5391

Hi,

I am looking at multi select examples over internet and most of I found displays options drop down as soon as I start typing in search. But I needed a functionality where options drop down gets displayed only after user typed 3 characters in search text box. So each time user types/searches I needed to pass that 3 character string to api to bring the results and then options drop down should display only those results.

I have tried to use typed event and in that event I am checking if length of search string is greater than 3 , then only make the server api call with search string as input and bind the results with items property.
But it does not look like working.

Can you please post a exmple on how to bind to items property with async data and only display options drop down after 3 characters typed in text box.

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions