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

VolumeDialog: share numeric value between Fixed and Range #1412

Merged
merged 2 commits into from
Jun 28, 2024

Conversation

mvidner
Copy link
Contributor

@mvidner mvidner commented Jun 28, 2024

Problem

#1277 - "Size entry gets reset when switching from Range to Fixed"

Solution

In Add/Edit file system dialog (VolumeDialog), keep the numeric value when switching between Fixed and Range sizing.

Do it by removing size and sizeUnit from formData and using minSize, minSizeUnit for both roles.

Testing

  • Tested manually

Screenshots

See #1277.

In Add/Edit file system dialog (VolumeDialog), keep the numeric value
when switching between Fixed and Range sizing (gh##1277)

Do it by removing size and sizeUnit from formData and using minSize,
minSizeUnit for both roles.
Copy link
Contributor

@dgdavid dgdavid left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@mvidner mvidner merged commit 21f6b48 into master Jun 28, 2024
6 checks passed
@mvidner mvidner deleted the keep-volume-size branch June 28, 2024 14:01
@imobachgs imobachgs mentioned this pull request Sep 20, 2024
imobachgs added a commit that referenced this pull request Sep 20, 2024
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.

2 participants