We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is related to #10232. Autofocus do not have any effect.
OS: darwin arm64
https://stackblitz.com/edit/github-1ovwbf?file=src/app/app.component.html
14.0.7
14.0.0
Angular CLI App
TypeScript
16.13.1
No response
<p-dropdown [options]="cities" [(ngModel)]="selectedCity" placeholder="Select a City" [autofocus]="true"></p-dropdown>
<p-dropdown [options]="cities" [(ngModel)]="selectedCity" placeholder="Select a City" [autofocus]="false"></p-dropdown>
Autofocus does not have any effect on the dropdown, no matter of values.
Autofocus should focus the dropdown on load when having the attribute [autofocus]="true"
[autofocus]="true"
The text was updated successfully, but these errors were encountered:
Hi,
Since this problem occurs across many components, I'm closing this issue and merging them into one #11807. We'll fix them altogether.
Thanks for your support and report!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
This is related to #10232.
Autofocus do not have any effect.
Environment
OS: darwin arm64
Reproducer
https://stackblitz.com/edit/github-1ovwbf?file=src/app/app.component.html
Angular version
14.0.7
PrimeNG version
14.0.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
16.13.1
Browser(s)
No response
Steps to reproduce the behavior
<p-dropdown [options]="cities" [(ngModel)]="selectedCity" placeholder="Select a City" [autofocus]="true"></p-dropdown>
<p-dropdown [options]="cities" [(ngModel)]="selectedCity" placeholder="Select a City" [autofocus]="false"></p-dropdown>
Autofocus does not have any effect on the dropdown, no matter of values.
Expected behavior
Autofocus should focus the dropdown on load when having the attribute
[autofocus]="true"
The text was updated successfully, but these errors were encountered: