enterprise-wc icon indicating copy to clipboard operation
enterprise-wc copied to clipboard

IdsSlider: Custom Max/Min not reflected on the slider

Open stephif8 opened this issue 1 year ago • 2 comments

Describe the bug After setting new max/min, the slider displays the default values at the ends of the slider and not the new max/min. Note: this issue only occurs when the max and min attributes are set to variables, it works when we set them to hardcoded values

To Reproduce Steps to reproduce the behavior:

  1. Set max/min attributes to variables of any number
  2. View slider
  3. Code used:
<ids-slider [vertical]="true" max="{{ max }}" min="{{ min }}" type="range"></ids-slider>

Expected behavior The numbers at the ends of the slider should display the new max and min.

Version ids-enterprise: v4.93.1

Screenshots Slider max:min

Platform Infor Application/Team Name: Birst OS Version: macOS Sonoma v14.6 Browser Name: Chrome Browser Version: 127.0.6533.100 (Official Build) (x86_64)

Additional context We're developing a widget in Portal and the ids slider was added to a modal page.

stephif8 avatar Aug 13 '24 18:08 stephif8