Skip to content

Commit

Permalink
fix(PinInput): replace .at with array index (#1243)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmaxme authored Aug 21, 2024
1 parent 6a1435f commit 79e575d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/radix-vue/src/PinInput/PinInputInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ onUnmounted(() => {
:inputmode="isNumericMode ? 'numeric' : 'text'"
:pattern="isNumericMode ? '[0-9]*' : undefined"
:placeholder="context.placeholder.value"
:value="context.modelValue.value.at(index)"
:value="context.modelValue.value[index]"
:disabled="disabled"
:data-disabled="disabled ? '' : undefined"
:data-complete="context.isCompleted.value ? '' : undefined"
Expand Down

0 comments on commit 79e575d

Please sign in to comment.