Skip to content

Commit

Permalink
fix(VNumberInput): allow press delete key (#20125)
Browse files Browse the repository at this point in the history
fixes #20083
  • Loading branch information
SonTT19 authored Jul 9, 2024
1 parent 5676e18 commit 09c294b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vuetify/src/labs/VNumberInput/VNumberInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export const VNumberInput = genericComponent<VNumberInputSlots>()({

function onKeydown (e: KeyboardEvent) {
if (
['Enter', 'ArrowLeft', 'ArrowRight', 'Backspace', 'Tab'].includes(e.key) ||
['Enter', 'ArrowLeft', 'ArrowRight', 'Backspace', 'Delete', 'Tab'].includes(e.key) ||
e.ctrlKey
) return

Expand Down

0 comments on commit 09c294b

Please # to comment.