Skip to content

Commit

Permalink
fix(VOtpInput): don't convert null model to string
Browse files Browse the repository at this point in the history
  • Loading branch information
KaelWD committed Apr 1, 2024
1 parent 85b2651 commit d93b9d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vuetify/src/components/VOtpInput/VOtpInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const VOtpInput = genericComponent<VOtpInputSlots>()({
props,
'modelValue',
'',
val => String(val).split(''),
val => val == null ? [] : String(val).split(''),
val => val.join('')
)
const { t } = useLocale()
Expand Down

0 comments on commit d93b9d7

Please sign in to comment.