Refactored input switch

pull/2760/head
Cagatay Civici 2022-07-05 13:38:37 +03:00
parent 96177cbc60
commit f2cfc6eb38
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<template>
<div :class="containerClass" @click="onClick($event)">
<div class="p-hidden-accessible">
<input :id="inputId" ref="input" role="switch" :checked="checked" :disabled="disabled" :aria-checked="checked"
<input :id="inputId" ref="input" type="checkbox" role="switch" :checked="checked" :disabled="disabled"
@focus="onFocus($event)" @blur="onBlur($event)" v-bind="inputProps">
</div>
<span class="p-inputswitch-slider"></span>