Skip to content

Commit 3571e14

Browse files
author
Singh
committed
fix(react-form-renderer): fix float data issue
1 parent c7efb3d commit 3571e14

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,5 +189,7 @@
189189
]
190190
]
191191
},
192-
"dependencies": {}
192+
"dependencies": {
193+
"yarn": "^1.22.19"
194+
}
193195
}

packages/react-form-renderer/src/use-field-api/convert-type.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ const canBeConvertedToFloat = (value) => {
2626
if (typeof value == 'string' && value.endsWith('.')) {
2727
return false;
2828
}
29+
2930
return canBeConvertedToNumber(value);
3031
};
3132

0 commit comments

Comments
 (0)