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 entering negative values in range field #2560

Merged
merged 3 commits into from
Feb 20, 2023
Merged

Conversation

alexbruy
Copy link
Contributor

@alexbruy alexbruy commented Feb 19, 2023

Fixes enetering of minus sign in the range field, as per https://app.clickup.com/t/861mctcbe

Copy link
Collaborator

@tomasMizera tomasMizera left a comment

Choose a reason for hiding this comment

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

@alexbruy please provide the following

  • description
  • auto tests
  • explanation why this is needed

This piece of code looks dangerous as it effectively returns rawValue when someone asks for AttributeValue in attributeformmodel https://github.com/MerginMaps/input/blob/1b7c002f0e4eefdf183222721f996c5f17353b75/app/attributes/attributeformmodel.cpp#L60 What is the reason to return the rawValue?

@alexbruy
Copy link
Contributor Author

Can you provide guidelines on how should I test UI behaviour?

@tomasMizera tomasMizera merged commit 55f61ed into master Feb 20, 2023
@tomasMizera tomasMizera deleted the fix-negative-number branch February 20, 2023 15:33
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

Successfully merging this pull request may close these issues.

None yet

2 participants