Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integer Column Type should not show 'Decimals' setting #1268

Open
1 of 2 tasks
computrav opened this issue Oct 16, 2024 · 0 comments
Open
1 of 2 tasks

Integer Column Type should not show 'Decimals' setting #1268

computrav opened this issue Oct 16, 2024 · 0 comments

Comments

@computrav
Copy link

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

  1. Go to a table, or create a new one
  2. Open right sidebar
  3. 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?

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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant