Issue Description
Number widget doesn't accept '0' for decimal places, even though it should according to field's description. If one sets it to 1 and saves - it is set to 1, but if one tries to set it to 0 it resets to 2.
Expected Behavior
Once decimal places is set to 0 and widget settings are saved it should stay at 0 as per description
Current Behavior
Resets to 2 when set to 0
Steps to reproduce
Open Number's widget settings and set Decimal Places to 0, click save, open settings again - it will be 2. Set to 1, save - it will be 1, set to 0, save, open settings - it will be back to 2.
Screenshots of the issue(optional)
No response
Operating System [e.g. MacOS Sonoma 14.1, Windows 11]
Windows 11
What browsers are you seeing the problem on?
Chrome, Microsoft Edge
What version of OpenSign™ are you seeing this issue on? [e.g. 1.0.6]
2.38.0
What environment are you seeing the problem on?
Production (app.opensignlabs.com)
Please check the boxes that apply to this issue report.
Code of Conduct
Issue Description
Number widget doesn't accept '0' for decimal places, even though it should according to field's description. If one sets it to 1 and saves - it is set to 1, but if one tries to set it to 0 it resets to 2.
Expected Behavior
Once decimal places is set to 0 and widget settings are saved it should stay at 0 as per description
Current Behavior
Resets to 2 when set to 0
Steps to reproduce
Open Number's widget settings and set Decimal Places to 0, click save, open settings again - it will be 2. Set to 1, save - it will be 1, set to 0, save, open settings - it will be back to 2.
Screenshots of the issue(optional)
No response
Operating System [e.g. MacOS Sonoma 14.1, Windows 11]
Windows 11
What browsers are you seeing the problem on?
Chrome, Microsoft Edge
What version of OpenSign™ are you seeing this issue on? [e.g. 1.0.6]
2.38.0
What environment are you seeing the problem on?
Production (app.opensignlabs.com)
Please check the boxes that apply to this issue report.
Code of Conduct