You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is related to #10232 and #11781.
Autofocus do not have any effect.
Autofocus property is spelled as autoFocus for InputMask and autofocus for AutoComplete and Dropdown.
This could be more consist.
cetincakiroglu
removed
the
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
label
Aug 9, 2022
Describe the bug
This is related to #10232 and #11781.
Autofocus do not have any effect.
Autofocus property is spelled as
autoFocus
for InputMask andautofocus
for AutoComplete and Dropdown.This could be more consist.
Environment
OS: darwin arm64
Reproducer
https://stackblitz.com/edit/github-ush22w?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-inputMask mask="99-999999" [(ngModel)]="val1" placeholder="99-999999" [autofocus]="true"></p-inputMask>
<p-inputMask mask="99-999999" [(ngModel)]="val1" placeholder="99-999999" [autofocus]="false"></p-inputMask>
Autofocus does not have any effect on the InputMask, no matter of values.
Expected behavior
Autofocus should focus the InputMask on load when having the attribute
[autofocus]="true"
The text was updated successfully, but these errors were encountered: