# Perspective Slider Stuck/No Labels with Floats

**URL:** <https://forum.inductiveautomation.com/t/perspective-slider-stuck-no-labels-with-floats/93987>\
**Category:** Ignition\
**Tags:** vision, perspective\
**Created:** [July 31, 2024, 3:11pm UTC](https://forum.inductiveautomation.com/t/perspective-slider-stuck-no-labels-with-floats/93987 "2024-07-31T15:11:59Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![ignition\_newbie\_7](https://avatars.discourse-cdn.com/v4/letter/i/71c47a/32.png) [@ignition\_newbie\_7](https://forum.inductiveautomation.com/u/ignition_newbie_7)\
**Post date:** [July 31, 2024, 3:11pm UTC](https://forum.inductiveautomation.com/t/perspective-slider-stuck-no-labels-with-floats/93987/1 "2024-07-31T15:11:59Z")

</div>

Hi all,  
I am relatively new to Ignition and am trying to use a bidirectional slider with floating point numbers. When I use this slider, it gets stuck at the maximum value. Additionally, it does not show any of the float labels. I've checked the documentation for the Slider component, and it says that the type for the value, step, and interval properties is numeric. I've also checked the documentation for a numeric type for Ignition and a float was included. I know that floats are normally an approximate type using other tools and do not count for numeric types, which might be the problem I am having.

Does the Perspective Slider support floats? I'm leaning towards no, especially because the Vision Slider doesn't and also because I have another slider in this project that does not use floats and works perfectly. I know I can make a template to work around this issue - but I would prefer not to if I'm missing a certain property that allows the Slider to work with floats.

More info: Slider range is 1.8 - 2.2, step is 0.1, interval is 0.2. Stuck Slider is pictured below.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/f/2fedcea3e300c0dd66d4191c09dc73018734a70c.png)

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [July 31, 2024, 3:13pm UTC](https://forum.inductiveautomation.com/t/perspective-slider-stuck-no-labels-with-floats/93987/2 "2024-07-31T15:13:58Z")

</div>

Welcome to the forum.

Right-click on the slider in the Project Browser, copy and paste it in here, formatting the code as shown in [Wiki - how to post code on this forum](https://forum.inductiveautomation.com/t/wiki-how-to-post-code-on-this-forum/77831).

---

<div class="post-metadata">

**Author:** ![ignition\_newbie\_7](https://avatars.discourse-cdn.com/v4/letter/i/71c47a/32.png) [@ignition\_newbie\_7](https://forum.inductiveautomation.com/u/ignition_newbie_7)\
**Post date:** [July 31, 2024, 3:16pm UTC](https://forum.inductiveautomation.com/t/perspective-slider-stuck-no-labels-with-floats/93987/3 "2024-07-31T15:16:00Z")

</div>

```python
[
  {
    "type": "ia.input.slider",
    "version": 0,
    "props": {
      "labels": {
        "show": true
      }
    },
    "meta": {
      "name": "Slider"
    },
    "position": {
      "x": 0.6,
      "y": 0.4,
      "height": 0.2,
      "width": 0.3
    },
    "custom": {},
    "propConfig": {
      "meta.visible": {
        "binding": {
          "config": {
            "expression": "{[default]Career Fair Mode}"
          },
          "type": "expr"
        }
      },
      "props.value": {
        "binding": {
          "type": "tag",
          "config": {
            "mode": "direct",
            "tagPath": "[default]Writeable I",
            "bidirectional": true,
            "fallbackDelay": 2.5
          }
        }
      },
      "props.min": {
        "binding": {
          "type": "expr",
          "config": {
            "expression": "{[default]Ideal I} - ({[default]Ideal I} * 0.1)"
          }
        }
      },
      "props.max": {
        "binding": {
          "type": "expr",
          "config": {
            "expression": "{[default]Ideal I} + ({[default]Ideal I} * 0.1)"
          }
        }
      },
      "props.step": {
        "binding": {
          "type": "expr",
          "config": {
            "expression": "{[default]Ideal I}/20"
          }
        }
      },
      "props.labels.interval": {
        "binding": {
          "type": "expr",
          "config": {
            "expression": "{[default]Ideal I}/10"
          }
        }
      }
    }
  }
]

```

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [July 31, 2024, 3:19pm UTC](https://forum.inductiveautomation.com/t/perspective-slider-stuck-no-labels-with-floats/93987/4 "2024-07-31T15:19:16Z")

</div>

You have a bidirectional tag binding on `[default]Writeable I`.  
Is something in the PLC writing to that tag?

---

<div class="post-metadata">

**Author:** ![ignition\_newbie\_7](https://avatars.discourse-cdn.com/v4/letter/i/71c47a/32.png) [@ignition\_newbie\_7](https://forum.inductiveautomation.com/u/ignition_newbie_7)\
**Post date:** [July 31, 2024, 3:20pm UTC](https://forum.inductiveautomation.com/t/perspective-slider-stuck-no-labels-with-floats/93987/5 "2024-07-31T15:20:31Z")

</div>

No, the only thing I have writing to that tag is a ValueChanged script on an expression tag. The expression tag value is not changing. It's actually written using the other slider without floats in the program that works perfectly.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [July 31, 2024, 3:24pm UTC](https://forum.inductiveautomation.com/t/perspective-slider-stuck-no-labels-with-floats/93987/6 "2024-07-31T15:24:40Z")

</div>

It's working for me on version 8.1.41 when I disable all your bindings and use the values you provided.

Try disabling the binding on `PROPS.value` and see if that frees it up.

---

<div class="post-metadata">

**Author:** ![ignition\_newbie\_7](https://avatars.discourse-cdn.com/v4/letter/i/71c47a/32.png) [@ignition\_newbie\_7](https://forum.inductiveautomation.com/u/ignition_newbie_7)\
**Post date:** [July 31, 2024, 3:29pm UTC](https://forum.inductiveautomation.com/t/perspective-slider-stuck-no-labels-with-floats/93987/7 "2024-07-31T15:29:11Z")

</div>

I just disabled all the bindings and it still gets stuck on my end.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [July 31, 2024, 3:31pm UTC](https://forum.inductiveautomation.com/t/perspective-slider-stuck-no-labels-with-floats/93987/8 "2024-07-31T15:31:29Z")

</div>

Give us a screen grab - nicely cropped!

![Slider stuck](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/b/1b6ba715c316ddf1f02aada104f5d2a34812a7a4.png)

---

<div class="post-metadata">

**Author:** ![ignition\_newbie\_7](https://avatars.discourse-cdn.com/v4/letter/i/71c47a/32.png) [@ignition\_newbie\_7](https://forum.inductiveautomation.com/u/ignition_newbie_7)\
**Post date:** [July 31, 2024, 3:34pm UTC](https://forum.inductiveautomation.com/t/perspective-slider-stuck-no-labels-with-floats/93987/9 "2024-07-31T15:34:43Z")

</div>

Here it is with all the bindings enabled:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/e/9ee08587a09300a1f3aed8ca91388cb63f1242ba.png)

And here it is with all the bindings removed:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/7/a76b41d2bbfb236c709a6566f71745bfec6cd22b.png)

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [July 31, 2024, 3:39pm UTC](https://forum.inductiveautomation.com/t/perspective-slider-stuck-no-labels-with-floats/93987/10 "2024-07-31T15:39:24Z")

</div>

Something's got corrupted, I suspect.

- Close the view and reopen. See if that fixes it.
- Delete the component and recreate it adding in one binding at a time.

---

<div class="post-metadata">

**Author:** ![ignition\_newbie\_7](https://avatars.discourse-cdn.com/v4/letter/i/71c47a/32.png) [@ignition\_newbie\_7](https://forum.inductiveautomation.com/u/ignition_newbie_7)\
**Post date:** [August 1, 2024, 1:55pm UTC](https://forum.inductiveautomation.com/t/perspective-slider-stuck-no-labels-with-floats/93987/11 "2024-08-01T13:55:12Z")

</div>

Thank you. I have closed and reopened it and deleted the component and readded it with no luck. I tried making it really big on its own view and it doesn't seem to get stuck at the max, but I still can't get the labels to show up. Any idea what I can do to fix that?
