Skip to content

Commit

Permalink
Merge pull request #164 from unicef/fix/positive-number-format-event-…
Browse files Browse the repository at this point in the history
…type

Fix/positive number format event type
  • Loading branch information
gauravr7 authored Jul 23, 2024
2 parents f4d9161 + ff0958f commit e0ce9db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@unicef/material-ui",
"version": "1.0.5",
"version": "1.0.6",
"description": "UNICEF theme and components of material-ui for react",
"main": "index.js",
"files": [
Expand Down
3 changes: 2 additions & 1 deletion src/components/Shared/PositiveNumberFormat.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ export default function PositiveNumberFormat({
<NumberFormat
{...other}
getInputRef={inputRef}
onValueChange={values => {
onValueChange={(values, sourceInfo) => {
onChange({
target: {
name: name,
value: values.value,
},
sourceInfo,
})
}}
thousandSeparator={thousandSeparator}
Expand Down

0 comments on commit e0ce9db

Please sign in to comment.