Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Scroll in dropdown menu #311

Open
DeybiSuanca07 opened this issue Jan 19, 2024 · 0 comments
Open

Scroll in dropdown menu #311

DeybiSuanca07 opened this issue Jan 19, 2024 · 0 comments
Labels
Question Question about this project Triage Issue needs to be triaged

Comments

@DeybiSuanca07
Copy link

Good day to all!

I would like to ask how I can have the scroll in my drop-down menu, since I currently do not have it. This is my integration:

<BlazoredTypeahead SearchMethod="GetDeparmentsDelivery"
                   ConvertMethod="ConvertList"
                   ShowDropDownOnFocus="true"
                   EnableDropDown="true"
                   placeholder="Seleccionar.."
                   Value="holder.Department" ValueChanged="@((string value) => ChangeDepartmentsDelivery(value))" ValueExpression="@(() => holder.Department)">
    <SelectedTemplate Context="askSekureGetDeparmentsDeliveryIC">
        @askSekureGetDeparmentsDeliveryIC
    </SelectedTemplate>
    <ResultTemplate Context="askSekureGetDeparmentsDeliveryIC">
        @askSekureGetDeparmentsDeliveryIC.Value
    </ResultTemplate>
    <NotFoundTemplate Context="askSekureGetDeparmentsDeliveryIC">
        Seleccione un item de la lista
    </NotFoundTemplate>
</BlazoredTypeahead>`

Result:

![Captura de pantalla 2024-01-19 115215](https://github.com/Blazored/Typeahead/assets/75462499/bc89fffd-6e0e-477f-a7a4-60b4bf1ad0b5)


There are more than 20 departments in the list, but I want to show the first interaction with 10 results as you can see.

Please if anyone can help me, thank you!
@DeybiSuanca07 DeybiSuanca07 added Question Question about this project Triage Issue needs to be triaged labels Jan 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Question Question about this project Triage Issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

1 participant