Skip to content

Commit

Permalink
Radio: fix checked state when browser go back (ElemeFE#21250)
Browse files Browse the repository at this point in the history
  • Loading branch information
cs1707 authored and hzsrc committed Feb 2, 2023
1 parent b10d30c commit 2917691
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/radio/src/radio-button.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
tabindex="-1"
@focus="focus = true"
@blur="focus = false"
autocomplete="off"
>
<span
class="el-radio-button__inner"
Expand Down
1 change: 1 addition & 0 deletions packages/radio/src/radio.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
:name="name"
:disabled="isDisabled"
tabindex="-1"
autocomplete="off"
>
</span>
<span class="el-radio__label" @keydown.stop>
Expand Down

0 comments on commit 2917691

Please sign in to comment.