Fixed #6252
parent
ea5a98daba
commit
eac0bfe591
|
@ -118,7 +118,7 @@ export interface AccordionProps {
|
|||
* Value of the active panel or an array of values in multiple mode.
|
||||
* @defaultValue null
|
||||
*/
|
||||
value?: string | string[] | null | undefined;
|
||||
value?: string | string[] | number | number[] | null | undefined;
|
||||
/**
|
||||
* When enabled, multiple tabs can be activated at the same time.
|
||||
* @defaultValue false
|
||||
|
|
|
@ -7,7 +7,7 @@ export default {
|
|||
extends: BaseComponent,
|
||||
props: {
|
||||
value: {
|
||||
type: [String, Array],
|
||||
type: [String, Number, Array],
|
||||
default: undefined
|
||||
},
|
||||
multiple: {
|
||||
|
|
|
@ -71,7 +71,7 @@ export interface AccordionPanelProps {
|
|||
/**
|
||||
* Unique value of item.
|
||||
*/
|
||||
value: string;
|
||||
value: string | number | undefined;
|
||||
/**
|
||||
* Whether the item is disabled.
|
||||
* @defaultValue false
|
||||
|
|
|
@ -7,7 +7,7 @@ export default {
|
|||
extends: BaseComponent,
|
||||
props: {
|
||||
value: {
|
||||
type: String,
|
||||
type: [String, Number],
|
||||
default: undefined
|
||||
},
|
||||
disabled: {
|
||||
|
|
|
@ -7,7 +7,7 @@ export default {
|
|||
extends: BaseComponent,
|
||||
props: {
|
||||
value: {
|
||||
type: String,
|
||||
type: [String, Number],
|
||||
default: undefined
|
||||
},
|
||||
disabled: {
|
||||
|
|
|
@ -71,7 +71,7 @@ export interface TabProps {
|
|||
/**
|
||||
* Value of tab.
|
||||
*/
|
||||
value: string;
|
||||
value: string | number;
|
||||
/**
|
||||
* Whether the tab is disabled.
|
||||
* @defaultValue false
|
||||
|
|
|
@ -8,7 +8,7 @@ export default {
|
|||
props: {
|
||||
// in Tabs
|
||||
value: {
|
||||
type: String,
|
||||
type: [String, Number],
|
||||
default: undefined
|
||||
},
|
||||
as: {
|
||||
|
|
|
@ -91,7 +91,7 @@ export interface TabPanelProps {
|
|||
/**
|
||||
* Value of tabpanel.
|
||||
*/
|
||||
value: string;
|
||||
value: string | number;
|
||||
/**
|
||||
* Use to change the HTML tag of root element.
|
||||
* @defaultValue DIV
|
||||
|
|
|
@ -7,7 +7,7 @@ export default {
|
|||
extends: BaseComponent,
|
||||
props: {
|
||||
value: {
|
||||
type: String,
|
||||
type: [String, Number],
|
||||
default: undefined
|
||||
},
|
||||
lazy: {
|
||||
|
|
|
@ -88,7 +88,7 @@ export interface TabsProps {
|
|||
/**
|
||||
* Value of the active tab.
|
||||
*/
|
||||
value: string;
|
||||
value: string | number;
|
||||
/**
|
||||
* When enabled, hidden tabs are not rendered at all. Defaults to false that hides tabs with css.
|
||||
* @defaultValue false
|
||||
|
|
Loading…
Reference in New Issue