Skip to content

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.

@spacey-sooty spacey-sooty deleted the back-mod-x-positive branch July 26, 2025 15:34
@spacey-sooty spacey-sooty restored the back-mod-x-positive branch July 26, 2025 15:35
@spacey-sooty spacey-sooty reopened this Jul 26, 2025
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