Skip to content

Commit

Permalink
fix: typo maxFracionDigits > maxFractionDigits (#3119)
Browse files Browse the repository at this point in the history
  • Loading branch information
whatever555 authored Jul 30, 2022
1 parent c6e787d commit 86637af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/doc/inputnumber/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ import { InputNumber } from 'primereact/inputnumber';
<CodeHighlight>
{`
<InputNumber value={value1} onValueChange={(e) => setValue1(e.value)} mode="decimal" minFractionDigits={2} />
<InputNumber value={value2} onValueChange={(e) => setValue2(e.value)} mode="decimal" minFractionDigits={2} maxFracionDigits={2} />
<InputNumber value={value2} onValueChange={(e) => setValue2(e.value)} mode="decimal" minFractionDigits={2} maxFractionDigits={2} />
`}
</CodeHighlight>

Expand Down

0 comments on commit 86637af

Please sign in to comment.