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

Dropdown: Selection with custom template does not look right #1992

Open
1 task done
VaidasMasys opened this issue Feb 21, 2025 · 0 comments
Open
1 task done

Dropdown: Selection with custom template does not look right #1992

VaidasMasys opened this issue Feb 21, 2025 · 0 comments
Labels

Comments

@VaidasMasys
Copy link

Bug already reported?

  • I confirm that I have checked if the bug already has been reported

For which framework/library you are reporting the bug

Angular

Component name

dropdown

Description

If we are using #selectedTpl custom template for our dropdown component like this:

Image
We can run into a couple if issues.
bug 1:

Image

bug: 2:

Image

Steps To Reproduce

  1. Use dropdown with #selectedTpl that has multiple lines.
  2. Select a dropdown option.
  3. close dropdown.
  4. open dropdown again (At this point you will get first bug)
  5. Not click on the same option again (you will get the second bug)

Current Behaviour

Image
Image

Expected Behaviour

This is from old v-angular but it should work something like this:

Image

@VaidasMasys VaidasMasys added Type: Bug Something isn't working Lib: Angular labels Feb 21, 2025
@EldRoos EldRoos changed the title Dropdown selection with custom template does not look right Dropdown: Selection with custom template does not look right Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants