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

p-dropdown in a p-floatLabel can not be editable #16823

Open
mappopo opened this issue Nov 22, 2024 · 0 comments
Open

p-dropdown in a p-floatLabel can not be editable #16823

mappopo opened this issue Nov 22, 2024 · 0 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@mappopo
Copy link

mappopo commented Nov 22, 2024

Describe the bug

it is not possible to get the expected behaviour of editable if p-dropdown is inside a p-floatLabel. You can not write inside the box

`



<p-dropdown
[options]="cities"
[(ngModel)]="selectedCity"
optionLabel="name"
[editable]="true"
inputId="float-label"
/>
Select a City

`

if you move p-dropdown outside p-floatLabel it works correcly

Environment

angular primeng

Reproducer

https://stackblitz.com/edit/mgbc2j?file=src%2Fapp%2Fdropdown-floatlabel-demo.html

Angular version

18.2.8

PrimeNG version

17.18.11

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

v20.14.0

Browser(s)

all

Steps to reproduce the behavior

just try to write Rome insede the box

Expected behavior

When I type the first letter R the character R is expected to be shown. Then when I write o is expected to see Ro in the box and so on until Rome appear in the box.

@mappopo mappopo added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

1 participant