# Stack Kanban by boolean not working

**URL:** <https://community.weweb.io/t/stack-kanban-by-boolean-not-working/5522>\
**Category:** Ask us anything\
**Created:** [November 22, 2023, 5:15pm UTC](https://community.weweb.io/t/stack-kanban-by-boolean-not-working/5522 "2023-11-22T17:15:37Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![visualdevs](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/visualdevs/32/6248_2.png) [@visualdevs](https://community.weweb.io/u/visualdevs)\
**Post date:** [November 22, 2023, 5:15pm UTC](https://community.weweb.io/t/stack-kanban-by-boolean-not-working/5522/1 "2023-11-22T17:15:37Z")

</div>

Hi everyone, I’m trying to customize the stack of my kanban by the variable “visible” that is a boolean

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/1/1273ec42962eaf0d5a78697ef9c6dfda28a01470.png)

For some reason having it like this always shows only one column, not both, the other one looks empty  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/8/8cf15aa943a7e7797f620289faf9bbb744cfeb3f.png)

If I switch the order then the visible one go to the right column and the first one is empty.

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [November 22, 2023, 6:00pm UTC](https://community.weweb.io/t/stack-kanban-by-boolean-not-working/5522/2 "2023-11-22T18:00:32Z")

</div>

Use true and false as strings in your array. “true” and “false”. That might work. Or you’ll need to have the data in string? I’m not sure, but I know there is a thread where I discussed this same issue with numbers on the forum.

---

<div class="post-metadata">

**Author:** ![visualdevs](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/visualdevs/32/6248_2.png) [@visualdevs](https://community.weweb.io/u/visualdevs)\
**Post date:** [November 22, 2023, 6:47pm UTC](https://community.weweb.io/t/stack-kanban-by-boolean-not-working/5522/3 "2023-11-22T18:47:20Z")

</div>

I saw it! Thank you for that, but the weird thing is that I changed to integer instead of true false, being 0 true and 1 false.  
And I have the same result, one of the 2 lists is empty.

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [November 22, 2023, 8:11pm UTC](https://community.weweb.io/t/stack-kanban-by-boolean-not-working/5522/4 "2023-11-22T20:11:04Z")

</div>

Have you tried the string workaround?

---

<div class="post-metadata">

**Author:** ![visualdevs](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/visualdevs/32/6248_2.png) [@visualdevs](https://community.weweb.io/u/visualdevs)\
**Post date:** [November 22, 2023, 10:04pm UTC](https://community.weweb.io/t/stack-kanban-by-boolean-not-working/5522/5 "2023-11-22T22:04:32Z")

</div>

I tried it but didn’t have luck.

---

<div class="post-metadata">

**Author:** ![Alexis](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/alexis/32/13248_2.png) [@Alexis](https://community.weweb.io/u/Alexis)\
**Post date:** [November 23, 2023, 9:36am UTC](https://community.weweb.io/t/stack-kanban-by-boolean-not-working/5522/6 "2023-11-23T09:36:21Z")

</div>

I think you’ve caught a bug, I can see it in the code. Falsy value for the stack fallback to an empty string. So the value expected for the False stack is an empty string inside visible.

I will correct it! But if you did stringify your values it should have worked, I guess you forgot to do it both in your stack and data binding.

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [November 23, 2023, 12:12pm UTC](https://community.weweb.io/t/stack-kanban-by-boolean-not-working/5522/7 "2023-11-23T12:12:41Z")

</div>

Yup, that’s what I meant, convert it to strings. You could do this with copilot also, via a formula. Should be quick.

---

<div class="post-metadata">

**Author:** ![visualdevs](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/visualdevs/32/6248_2.png) [@visualdevs](https://community.weweb.io/u/visualdevs)\
**Post date:** [November 30, 2023, 5:41am UTC](https://community.weweb.io/t/stack-kanban-by-boolean-not-working/5522/8 "2023-11-30T05:41:22Z")

</div>

I tried using stringify but still not working.

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [November 30, 2023, 7:25am UTC](https://community.weweb.io/t/stack-kanban-by-boolean-not-working/5522/9 "2023-11-30T07:25:02Z")

</div>

I think they fixed this in the latest update actually.

---

<div class="post-metadata">

**Author:** ![Alexis](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/alexis/32/13248_2.png) [@Alexis](https://community.weweb.io/u/Alexis)\
**Post date:** [November 30, 2023, 10:05am UTC](https://community.weweb.io/t/stack-kanban-by-boolean-not-working/5522/10 "2023-11-30T10:05:52Z")

</div>

It should works with your boolean true/false now 🙂

---

<div class="post-metadata">

**Author:** ![visualdevs](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/visualdevs/32/6248_2.png) [@visualdevs](https://community.weweb.io/u/visualdevs)\
**Post date:** [December 1, 2023, 4:10pm UTC](https://community.weweb.io/t/stack-kanban-by-boolean-not-working/5522/11 "2023-12-01T16:10:09Z")

</div>

Is working now! Thank you
