remove unnecessary tabindex
parent
b241870e2f
commit
07ab17ff6c
|
@ -17,12 +17,6 @@ const CheckboxProps = [
|
|||
default: "false",
|
||||
description: "Allows to select a boolean value instead of multiple values."
|
||||
},
|
||||
{
|
||||
name: "tabindex",
|
||||
type: "number",
|
||||
default: "null",
|
||||
description: "Index of the element in tabbing order."
|
||||
},
|
||||
{
|
||||
name: "class",
|
||||
type: "string",
|
||||
|
|
|
@ -13,10 +13,6 @@ export interface CheckboxProps {
|
|||
* Allows to select a boolean value instead of multiple values.
|
||||
*/
|
||||
binary?: boolean;
|
||||
/**
|
||||
* Index of the element in tabbing order.
|
||||
*/
|
||||
tabindex?: number;
|
||||
/**
|
||||
* Style class of the component input field.
|
||||
*/
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div :class="containerClass" @click="onClick($event)" :style="style">
|
||||
<div class="p-hidden-accessible">
|
||||
<input ref="input" type="checkbox" :checked="checked" :value="value" v-bind="$attrs" :tabindex="tabindex" @focus="onFocus" @blur="onBlur">
|
||||
<input ref="input" type="checkbox" :checked="checked" :value="value" v-bind="$attrs" @focus="onFocus" @blur="onBlur">
|
||||
</div>
|
||||
<div ref="box" :class="['p-checkbox-box', {'p-highlight': checked, 'p-disabled': $attrs.disabled, 'p-focus': focused}]">
|
||||
<span :class="['p-checkbox-icon', {'pi pi-check': checked}]"></span>
|
||||
|
@ -22,10 +22,6 @@ export default {
|
|||
binary: Boolean,
|
||||
class: null,
|
||||
style: null,
|
||||
tabindex: {
|
||||
type: Number,
|
||||
default: null
|
||||
},
|
||||
trueValue: {
|
||||
type: null,
|
||||
default: true
|
||||
|
|
|
@ -75,12 +75,6 @@ export default {
|
|||
<td>false</td>
|
||||
<td>Allows to select a boolean value instead of multiple values.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>tabindex</td>
|
||||
<td>number</td>
|
||||
<td>null</td>
|
||||
<td>Index of the element in tabbing order.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>style</td>
|
||||
<td>any</td>
|
||||
|
|
Loading…
Reference in New Issue