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

fix: ensure number progress stays within 1-100 range #1445

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

enjeck
Copy link
Contributor

@enjeck enjeck commented Nov 7, 2024

At the moment, it is possible to to keep reducing to negative numbers or above 100, as seen below.

Screencast.from.11-07-2024.05_16_01.AM.mp4

This PR fixes it.

Signed-off-by: Cleopatra Enjeck M <patrathewhiz@gmail.com>
@enjeck enjeck added bug Something isn't working 3. to review Waiting for reviews labels Nov 7, 2024
@enjeck enjeck self-assigned this Nov 7, 2024
Comment on lines 8 to +10
type="number"
:min="column.numberMin"
:max="column.numberMax">
:min="0"
:max="100">
Copy link
Contributor Author

@enjeck enjeck Nov 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This wasn't working initially because column.numberMin and column.numberMin are undefined

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it also have effect on the default? Currently you can also set any arbitrary value there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug Something isn't working
Projects
Status: 🧭 Planning evaluation (don't pick)
Development

Successfully merging this pull request may close these issues.

2 participants