Add type="button"

pull/411/head
cagataycivici 2020-07-18 11:02:19 +03:00
parent b7320b3272
commit d3077c878c
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
<li :class="containerClass">
<div :class="contentClass" tabindex="0" role="treeitem" :aria-expanded="expanded"
@click="onClick" @keydown="onKeyDown" @touchend="onTouchEnd" :style="node.style">
<button class="p-tree-toggler p-link" @click="toggle" tabindex="-1" v-ripple>
<button type="button" class="p-tree-toggler p-link" @click="toggle" tabindex="-1" v-ripple>
<span :class="toggleIcon"></span>
</button>
<div class="p-checkbox p-component" v-if="checkboxMode">