Skip to content

Commit

Permalink
🐛 fix(bal-select): disabling previous prefill in edge is not possible (
Browse files Browse the repository at this point in the history
…#1407)

* Create PR for #1406

* fix(bal-select): if autocomplete is set to off, then aria-autocomplete should be set to none

* chore(bal-select): add changelog for bal-select fix

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yannick Holzenkamp <[email protected]>
  • Loading branch information
github-actions[bot] and yannickholzenkamp authored May 27, 2024
1 parent 17e1b01 commit 1c2a77c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/hip-rice-double.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@baloise/ds-core': patch
---

**select**: Prevent autofill with previously entered data on Edge
1 change: 1 addition & 0 deletions packages/core/src/components/bal-select/bal-select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1058,6 +1058,7 @@ export class Select implements ComponentInterface, Loggable, BalAriaFormLinking
aria-disabled={this.disabled ? 'true' : null}
data-testid="bal-select-input"
autocomplete={this.autocomplete}
aria-autocomplete={this.autocomplete === 'off' ? 'none' : null}
placeholder={this.inputPlaceholder}
readonly={!this.typeahead || this.disabled || this.readonly}
contentEditable={this.typeahead}
Expand Down

0 comments on commit 1c2a77c

Please sign in to comment.