Skip to content

Conversation

thegooman
Copy link
Contributor

Currently, the number cell editor automatically uses step of 'any'. This results in the step for a decimal number always being 1. I figured I would try to tackle this problem at the source.

This PR allows a step to be passed into the metadata for a cell. If no step is found, it will default to any.

@lmcnichols @ryuntalan

@thegooman
Copy link
Contributor Author

We could also get smarter and have the NumberCellEditor calculate what the step is based on how many decimal places are in the current value.

Example:
10.23 => 2 decimal places, step = "0.01"

@krassowski krassowski added the enhancement New feature or request label Aug 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants