Skip to content

Commit

Permalink
fix primefaces#5185, InputNumber: Minus Sign not working for Currency…
Browse files Browse the repository at this point in the history
… INR
  • Loading branch information
akshayantony55 committed Oct 29, 2023
1 parent c764c35 commit 35ca0d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/inputnumber/InputNumber.js
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ export const InputNumber = React.memo(
if (currencyCharIndex === 0 && _currency.current.toString() === '/[INR]/g') {
currencyCharIndex = 3;
}

_currency.current.lastIndex = 0;

return { decimalCharIndex, minusCharIndex, suffixCharIndex, currencyCharIndex };
Expand Down

0 comments on commit 35ca0d7

Please sign in to comment.