remove unnecessary tabindex
parent
4b8162a341
commit
4884a5a825
|
@ -11,12 +11,6 @@ const RadioButtonProps = [
|
|||
default: "null",
|
||||
description: "Value binding of the checkbox."
|
||||
},
|
||||
{
|
||||
name: "tabindex",
|
||||
type: "number",
|
||||
default: "null",
|
||||
description: "Index of the element in tabbing order."
|
||||
},
|
||||
{
|
||||
name: "class",
|
||||
type: "string",
|
||||
|
|
|
@ -9,10 +9,6 @@ export interface RadioButtonProps {
|
|||
* Value binding of the checkbox.
|
||||
*/
|
||||
modelValue?: any;
|
||||
/**
|
||||
* 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="radio" :checked="checked" :value="value" v-bind="$attrs" :tabindex="tabindex" @focus="onFocus" @blur="onBlur">
|
||||
<input ref="input" type="radio" :checked="checked" :value="value" v-bind="$attrs" @focus="onFocus" @blur="onBlur">
|
||||
</div>
|
||||
<div ref="box" :class="['p-radiobutton-box', {'p-highlight': checked, 'p-disabled': $attrs.disabled, 'p-focus': focused}]">
|
||||
<div class="p-radiobutton-icon"></div>
|
||||
|
@ -19,7 +19,6 @@ export default {
|
|||
props: {
|
||||
value: null,
|
||||
modelValue: null,
|
||||
tabindex: null,
|
||||
class: null,
|
||||
style: null
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue