mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
fix: parse to float numberFormatValues.value
This commit is contained in:
@@ -35,7 +35,9 @@ const NumberInput = ({
|
||||
| undefined;
|
||||
|
||||
if (newChangeEvent) {
|
||||
newChangeEvent.target.value = numberFormatValues.value;
|
||||
newChangeEvent.target.value = parseFloat(
|
||||
numberFormatValues.value
|
||||
) as unknown as string;
|
||||
|
||||
onChange?.(newChangeEvent);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user