From 47501237b474e8613f94ce958bcac94c6e62aa73 Mon Sep 17 00:00:00 2001 From: babu-ch Date: Thu, 6 Jun 2024 21:57:31 +0900 Subject: [PATCH 1/2] fix(VNumberInput): allow setting attribute --- packages/vuetify/src/labs/VNumberInput/VNumberInput.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/vuetify/src/labs/VNumberInput/VNumberInput.tsx b/packages/vuetify/src/labs/VNumberInput/VNumberInput.tsx index 431b25997b6..bf94fc61ad7 100644 --- a/packages/vuetify/src/labs/VNumberInput/VNumberInput.tsx +++ b/packages/vuetify/src/labs/VNumberInput/VNumberInput.tsx @@ -303,6 +303,7 @@ export const VNumberInput = genericComponent()({ props.class, ]} { ...textFieldProps } + { ...attrs } style={ props.style } inputmode="decimal" > From 2b6d96efea572b88be9555b2ba151f8fd50ebe1d Mon Sep 17 00:00:00 2001 From: babu-ch Date: Fri, 7 Jun 2024 15:10:41 +0900 Subject: [PATCH 2/2] fix(VNumberInput): allow setting attribute --- packages/vuetify/src/labs/VNumberInput/VNumberInput.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/vuetify/src/labs/VNumberInput/VNumberInput.tsx b/packages/vuetify/src/labs/VNumberInput/VNumberInput.tsx index bf94fc61ad7..c0acfe3f85f 100644 --- a/packages/vuetify/src/labs/VNumberInput/VNumberInput.tsx +++ b/packages/vuetify/src/labs/VNumberInput/VNumberInput.tsx @@ -56,8 +56,6 @@ const makeVNumberInputProps = propsFactory({ export const VNumberInput = genericComponent()({ name: 'VNumberInput', - inheritAttrs: false, - props: { ...makeVNumberInputProps(), }, @@ -303,7 +301,6 @@ export const VNumberInput = genericComponent()({ props.class, ]} { ...textFieldProps } - { ...attrs } style={ props.style } inputmode="decimal" >