Skip to content

Commit

Permalink
Merge branch 'main' into strong_typed
Browse files Browse the repository at this point in the history
  • Loading branch information
phillipc authored Jan 30, 2025
2 parents 2127388 + 403937f commit 0238738
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/binding.core/src/value.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ export class value extends BindingHandler {
// Workaround for https://github.com/SteveSanderson/knockout/issues/122
// IE doesn't fire "change" events on textboxes if the user selects a value from its autocomplete list
get ieAutoCompleteHackNeeded () {
return ieVersion && this.isInput &&

return ieVersion && this.isInput &&

this.$element.type == 'text' && this.$element.autocomplete != 'off' &&
(!this.$element.form || this.$element.form.autocomplete != 'off')
}
Expand Down

0 comments on commit 0238738

Please sign in to comment.