Skip to content

VolumeDialog: share numeric value between Fixed and Range#1412

Merged
mvidner merged 2 commits intomasterfrom
keep-volume-size
Jun 28, 2024
Merged

VolumeDialog: share numeric value between Fixed and Range#1412
mvidner merged 2 commits intomasterfrom
keep-volume-size

Conversation

@mvidner
Copy link
Copy Markdown
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.

mvidner added 2 commits June 28, 2024 15:49
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.
@mvidner mvidner force-pushed the keep-volume-size branch from 3b4ab88 to ca1d1ee Compare June 28, 2024 13:51
Copy link
Copy Markdown
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
@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