Skip to content

Error to user when back mod x is positive #1242

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

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

Conversation

spacey-sooty
Copy link
Collaborator

Resolves #1202
image

@github-actions github-actions bot added the component: ui UI frontend label Apr 24, 2025
@spacey-sooty spacey-sooty requested a review from shueja April 24, 2025 07:25
Copy link
Collaborator

@shueja shueja left a comment

Choose a reason for hiding this comment

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

Implementation looks to be in the right direction.

This system should be used for all the must-be-positive config values like mass, MoI, etc.

Also this doesn't prevent a parseable but positive backModX from being submitted, does it? You would have to put the this.props.valid check in this.getValid() for that. At some point it makes more sense to have custom validity checks in the ExpressionStore itself, not the input element.

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

Successfully merging this pull request may close these issues.

Unclear frontend error when "Back Mod X" is positive
2 participants