Skip to content

Commit 870eab9

Browse files
fix(TagsInput): handle number and bigint in items (#2229)
1 parent 525cd9f commit 870eab9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/TagsInput/TagsInputRoot.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import type { Direction, FormFieldProps } from '@/shared/types'
55
import { computed, ref, toRefs } from 'vue'
66
import { createContext, useArrowNavigation, useDirection, useFormControl, useForwardExpose } from '@/shared'
77
8-
export type AcceptableInputValue = string | Record<string, any>
8+
export type AcceptableInputValue = string | number | bigint | Record<string, any>
99
1010
export interface TagsInputRootProps<T = AcceptableInputValue> extends PrimitiveProps, FormFieldProps {
1111
/** The controlled value of the tags input. Can be bind as `v-model`. */

0 commit comments

Comments
 (0)