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

[FormBuilderRangeSlider]: Slider always at min value if initialValue is not set #1305

Closed
4 of 7 tasks
grundid opened this issue Oct 17, 2023 · 1 comment
Closed
4 of 7 tasks
Labels
bug Something isn't working

Comments

@grundid
Copy link
Contributor

grundid commented Oct 17, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Package/Plugin version

9.1.1

Platforms

  • Android
  • iOS
  • Linux
  • MacOS
  • Web
  • Windows

Flutter doctor

Flutter doctor

Minimal code example

The code below is in the builder method so it is executed on each build. If initialValue is not set if will always set the value at min range. The field is unusable for the user.

          if (initialValue == null) {
            field.setValue(RangeValues(min, min));
          }

Current Behavior

see above

Expected Behavior

see above

Steps To Reproduce

see above

Aditional information

No response

@deandreamatias
Copy link
Collaborator

Solved by #1331

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants