Open Fonsu opened 4 years ago
Perhaps a related issue of ng-select
https://github.com/ng-select/ng-select/issues/269
to repro (check if it's just safari or other browsers too) and try to fix, reporter kindly provided suggestions
Bug is apparent also on Chrome. Will take breaking changes to fix.
Changed priority to Minor per Safari's market share.
Bug Description Autofill on Safari does not work with
ng-select
, specifically with[searchable]="true"
. The rest of the input fields are correctly autofilled but not theng-select
one. While the value seems to be correctly set and the form can be submitted, the selected country is not displayed to the user, the dropdown shows empty. This is bad UX.To Reproduce Steps to reproduce the behavior:
/my-account/address-book
Add New Address
Expected behavior Country should be autofilled like the rest of the input fields.
Screenshots
Desktop:
Additional context Happening on the latest develop. Removing
[searchable]="true"
to theng-select
element seems to work (Safari will ignore this input while autofilling the rest), but of course the search feature would be lost.[inputAttrs]="{ autocomplete: 'country-name' }"
does not seem to change this behaviour.