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.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

          1.
          Implement Sub-task Completed Sang Ngo Huu

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 3.5d
          2.
          Review PR Sub-task Completed Adam Siska  
          3.
          Pre-int QA Sub-task Completed Adam Siska  
          4.
          QA Sub-task Completed Jaromir Sarf  

              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