Skip to content

Commit a881a65

Browse files
Merge pull request #102 from pegasystems/bug/tor/BUG-788460
Fixed need to type decimal point twice issue
2 parents 46e1fbd + 9d90c28 commit a881a65

File tree

1 file changed

+2
-1
lines changed
  • packages/react-sdk-components/src/components/field/Currency

1 file changed

+2
-1
lines changed

packages/react-sdk-components/src/components/field/Currency/Currency.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,12 @@ export default function Currency(props) {
7474
return <FieldValueList name={hideLabel ? '' : label} value={formattedValue} variant='stacked' />;
7575
}
7676

77+
// eslint-disable-next-line no-unused-vars, @typescript-eslint/no-unused-vars
7778
function currOnChange(event, inValue) {
7879
// console.log(`Currency currOnChange inValue: ${inValue}`);
7980

8081
// update internal value
81-
setCurrValue(inValue);
82+
setCurrValue(event?.target?.value);
8283
}
8384

8485
function currOnBlur(event, inValue) {

0 commit comments

Comments
 (0)