Skip to content

Commit

Permalink
Fix primefaces primefaces#4875 InputNumber: Doesn't allow minus sign …
Browse files Browse the repository at this point in the history
…in currency mode
  • Loading branch information
akshayantony55 committed Sep 6, 2023
1 parent a17d99c commit 9fe64fd
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 @@ -510,7 +510,7 @@ export const InputNumber = React.memo(
};

const allowMinusSign = () => {
return props.min === null || rootProps.min === null || props.min < 0;
return props.min === null || rootProps.min === null || props.min < 0;
};

const isMinusSign = (char) => {
Expand Down

0 comments on commit 9fe64fd

Please sign in to comment.