# Boolean values for perspective items

**URL:** <https://forum.inductiveautomation.com/t/boolean-values-for-perspective-items/32903>\
**Category:** Ignition\
**Created:** [March 6, 2020, 11:01pm UTC](https://forum.inductiveautomation.com/t/boolean-values-for-perspective-items/32903 "2020-03-06T23:01:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![joehahn](https://avatars.discourse-cdn.com/v4/letter/j/34f0e0/32.png) [@joehahn](https://forum.inductiveautomation.com/u/joehahn)\
**Post date:** [March 6, 2020, 11:01pm UTC](https://forum.inductiveautomation.com/t/boolean-values-for-perspective-items/32903/1 "2020-03-06T23:01:46Z")

</div>

Some items allow a 1 or 0, and some must be ‘true’ or ‘false’. Would it be possible to have them all one way or the other?

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [March 6, 2020, 11:40pm UTC](https://forum.inductiveautomation.com/t/boolean-values-for-perspective-items/32903/2 "2020-03-06T23:40:09Z")

</div>

Examples?

---

<div class="post-metadata">

**Author:** ![joehahn](https://avatars.discourse-cdn.com/v4/letter/j/34f0e0/32.png) [@joehahn](https://forum.inductiveautomation.com/u/joehahn)\
**Post date:** [March 9, 2020, 7:01pm UTC](https://forum.inductiveautomation.com/t/boolean-values-for-perspective-items/32903/3 "2020-03-09T19:01:29Z")

</div>

on the Flex repeater:  
elementPosition : uses “0” or “1”  
useDefaultViewWidth uses “true or flase” will only accept “true” or “false”  
grow and shrink use “0” or “1” will only accept numbers

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [March 9, 2020, 7:40pm UTC](https://forum.inductiveautomation.com/t/boolean-values-for-perspective-items/32903/4 "2020-03-09T19:40:30Z")

</div>

`elementPosition.grow` and `elementPosition.shrink` define the proportional growth and shrink of each instanced View based on the number of instanced Views, and accepts values between (and including) 0 and 1. This is NOT a boolean representation, it’s a numeric proportion, so no, we won’t be changing it from a numeric value.

`useDefaultViewWidth` accepts `true` or `false`, because it is a boolean value.

If you see a property on a component and it has a number value, it’s because the value is numeric. I can think of no property where we represent a boolean value with a numeric equivalent.
