8000 how to set category id for Searchmethod · Issue #307 · Blazored/Typeahead · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Dec 3, 2024. It is now read-only.
This repository was archived by the owner on Dec 3, 2024. It is now read-only.
how to set category id for Searchmethod #307
Open
@mousavi-sh

Description

@mousavi-sh

Dear
I uses multi blazoredtypeahead component in one page with one searchmethod function.
i need a unique Id to category data for each component.

private async Task<IEnumerable> SearchList(string searchText)
{
return await Task.FromResult(newList.Where(x => x.categoryId=listId && x.Name.Contains(searchText)).ToList());
}
how to pass ListId to this function?

Metadata

Metadata

Assignees

No one assigned

    Labels

    QuestionQuestion about this projectTriageIssue needs to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0