Skip to content

Commit

Permalink
fix(module:date-picker): added missing type attributes for buttons (#…
Browse files Browse the repository at this point in the history
…7013)

close #7012
  • Loading branch information
slavafomin committed Oct 19, 2021
1 parent 9a3f569 commit d69d374
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/date-picker/lib/abstract-panel-header.html
Expand Up @@ -3,6 +3,7 @@
[style.visibility]="showSuperPreBtn ? 'visible' : 'hidden'"
class="{{ prefixCls }}-super-prev-btn"
role="button"
type="button"
tabindex="-1"
title="{{ superPreviousTitle() }}"
(click)="superPrevious()"
Expand All @@ -13,6 +14,7 @@
[style.visibility]="showPreBtn ? 'visible' : 'hidden'"
class="{{ prefixCls }}-prev-btn"
role="button"
type="button"
title="{{ previousTitle() }}"
tabindex="-1"
(click)="previous()"
Expand All @@ -37,6 +39,7 @@
[style.visibility]="showNextBtn ? 'visible' : 'hidden'"
class="{{ prefixCls }}-next-btn"
role="button"
type="button"
tabindex="-1"
title="{{ nextTitle() }}"
(click)="next()"
Expand All @@ -47,6 +50,7 @@
[style.visibility]="showSuperNextBtn ? 'visible' : 'hidden'"
class="{{ prefixCls }}-super-next-btn"
role="button"
type="button"
tabindex="-1"
title="{{ superNextTitle() }}"
(click)="superNext()"
Expand Down

0 comments on commit d69d374

Please sign in to comment.