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

Problem with autocompletion in ui5-input #119

Closed
joseserrano15 opened this issue Mar 7, 2024 · 1 comment
Closed

Problem with autocompletion in ui5-input #119

joseserrano15 opened this issue Mar 7, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@joseserrano15
Copy link

Hello, I am experiencing an error with the ui5-input.
When the field is autocompleted with information saved in the browser (username and session password for example), an error is displayed and the input does not obtain the value.
I have the input inside a reactive form and the problem only happens once the production build is generated.

<ui5-input id="inputUser" [placeholder]="placeHolderUserInput" formControlName="user" type="Text"></ui5-input>

Error
image

@ilhan007
Copy link
Member

ilhan007 commented Jun 21, 2024

Hello @joseserrano15

this has been resolved on the web components side with the following change: SAP/ui5-webcomponents#9130

In short, the browser suggestions are turned off which follows the design specs as it competes with the Input suggestions and value state popovers. This is done via autocomplete="off" set on the native input.

The fix in@ui5/webcomponents is integrated in @ui5/webcomponents-ngx and available with version >= 0.3.0-rc.6.

BR,
ilhan

@ilhan007 ilhan007 self-assigned this Jun 21, 2024
@ilhan007 ilhan007 added the bug Something isn't working label Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants