We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06018ad commit 08a1f7bCopy full SHA for 08a1f7b
src/components/Form/src/helper.ts
@@ -72,7 +72,7 @@ export const defaultValueComponents = [
72
export function handleInputNumberValue(component?: ComponentType, val?: any) {
73
if (!component) return val;
74
if (defaultValueComponents.includes(component)) {
75
- return val && isNumber(val) ? `${val}` : val;
+ return val && isNumber(val) ? val : `${val}`;
76
}
77
return val;
78
0 commit comments