grist-core
grist-core copied to clipboard
Integer Column Type should not show 'Decimals' setting
Describe the current behavior
If you change the Column Type for a column to 'Integer', the 'Decimals' configuration controls (min/max decimal places) still shows. This makes no sense since the number type is an Integer which by definition has no decimal points. The decimal controls should only show for Column Type 'Numeric'
Steps to reproduce
- Go to a table, or create a new one
- Open right sidebar
- Change Column Type to 'Integer'
Describe the expected behavior
The 'Decimals' controls (min/max decimal places) should not show.
Where have you encountered this bug?
- [ ] On docs.getgrist.com
- [X] On a self-hosted instance
Instance information (when self-hosting only)
-
Grist instance:
- Version: 1.2.0
- URL (if it's OK for you to share it):
- Installation mode: docker/kubernetes/... docker
- Architecture: single-worker/multi-workers
-
Browser name, version and platforms on which you could reproduce the bug: Brave
-
Link to browser console log if relevant:
-
Link to server log if relevant: