Skip to content

Commit 09c294b

Browse files
authored
fix(VNumberInput): allow press delete key (#20125)
fixes #20083
1 parent 5676e18 commit 09c294b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vuetify/src/labs/VNumberInput/VNumberInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export const VNumberInput = genericComponent<VNumberInputSlots>()({
133133

134134
function onKeydown (e: KeyboardEvent) {
135135
if (
136-
['Enter', 'ArrowLeft', 'ArrowRight', 'Backspace', 'Tab'].includes(e.key) ||
136+
['Enter', 'ArrowLeft', 'ArrowRight', 'Backspace', 'Delete', 'Tab'].includes(e.key) ||
137137
e.ctrlKey
138138
) return
139139

0 commit comments

Comments
 (0)