You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://forum.primefaces.org/viewforum.php?f=57
The codesandbox demonstrates three specific anomalous behaviours:
minFractionDigits={0} is not respected and prevents the ability to enter fractional digits even when maxFractionDigits is specified
If suffix, minFractionDigits, and maxFractionDigits are all specified, the content of the component is wiped when the minFractionDigits have been filled.
Setting format={false} completely eliminates the ability to specify fractional digits even when minFractionDigits and maxFractionDigits have been specified.
Expected behavior
Respective to the above listed current behaviours:
Specifying minFractionDigits={0} should still allow for fractional digits to be entered up to the specified maxFractionDigits
Rather than wipe the content, fractional digits should continue to be entered up to the maxFractionDigits limit
Setting format={false} should not influence the ability to enter fractional values.
Minimal reproduction of the problem with instructions
I'm submitting a ...
Codesandbox Case (Bug Reports)
https://codesandbox.io/s/primereact-test-forked-jttso?file=/src/index.js
Current behavior
The codesandbox demonstrates three specific anomalous behaviours:
minFractionDigits={0}
is not respected and prevents the ability to enter fractional digits even whenmaxFractionDigits
is specifiedsuffix
,minFractionDigits
, andmaxFractionDigits
are all specified, the content of the component is wiped when the minFractionDigits have been filled.format={false}
completely eliminates the ability to specify fractional digits even whenminFractionDigits
andmaxFractionDigits
have been specified.Expected behavior
Respective to the above listed current behaviours:
minFractionDigits={0}
should still allow for fractional digits to be entered up to the specifiedmaxFractionDigits
maxFractionDigits
limitformat={false}
should not influence the ability to enter fractional values.Minimal reproduction of the problem with instructions
Provided in code sandbox: https://codesandbox.io/s/primereact-test-forked-jttso?file=/src/index.js
Please tell us about your environment:
React version: 17.0.1
PrimeReact version: 6.0.0
Browser: [Chrome XX | Firefox XX ]
The text was updated successfully, but these errors were encountered: