Skip to content

Commit

Permalink
Va-select to accept number and string for max-visible-options (#4069)
Browse files Browse the repository at this point in the history
  • Loading branch information
ishaanparlikar authored Dec 6, 2023
1 parent de8f728 commit dc8f4f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { isNilValue } from '../../../utils/isNilValue'
import type { SelectOption } from '../types'

export const useMaxVisibleOptionsProps = {
maxVisibleOptions: { type: Number, default: 0 },
maxVisibleOptions: { type: Number || String, default: 0 },
}

type UseMaxVisibleOptionsProps = ExtractPropTypes<typeof useMaxVisibleOptionsProps> & { multiple: boolean, modelValue: SelectOption | SelectOption[] }
Expand Down

0 comments on commit dc8f4f1

Please sign in to comment.