Uploaded image for project: 'Admincentral'
  1. Admincentral
  2. ADMINCTR-291

Slider fields w/ descriptions cannot be slid to the max value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.3.0, 6.2.24
    • 6.2.23
    • Yes
    • Nucleus 20
    • 3

      Reproduce
      Create a dialog with a slider and description

      form:
        properties:
          slider:
            $type: sliderField
            defaultValue: 50
            stepSize: 5
            displayStepSize: 25
            valueFormat: PERCENTAGE
            description: I'm a slider
      

      Expected
      I should be able to slide all the way to right (to the max value).

      Actual
      You can never slide all the way to the max value. The entire dialog frame begins to expand infinitely.

      Workaround
      Don't use a description property. Use a static field below the slider field for the description.

      form:
        properties:
          slider:
            $type: sliderField
            defaultValue: 50
            stepSize: 5
            displayStepSize: 25
            valueFormat: PERCENTAGE
         description:
           $type: staticField
           label: Slider description
           value: I'm a slider
      

        Acceptance criteria

          There are no Sub-Tasks for this issue.

              sang.ngo Sang Ngo Huu
              rgange Richard Gange
              Nucleus
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 3.5d
                  3.5d