# Issue with Kanban Component Stacking by Integer Field

**URL:** <https://community.weweb.io/t/issue-with-kanban-component-stacking-by-integer-field/5080>\
**Category:** How do I?\
**Created:** [October 26, 2023, 6:01pm UTC](https://community.weweb.io/t/issue-with-kanban-component-stacking-by-integer-field/5080 "2023-10-26T18:01:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![carlo](https://avatars.discourse-cdn.com/v4/letter/c/c4cdca/32.png) [@carlo](https://community.weweb.io/u/carlo)\
**Post date:** [October 26, 2023, 6:01pm UTC](https://community.weweb.io/t/issue-with-kanban-component-stacking-by-integer-field/5080/1 "2023-10-26T18:01:12Z")

</div>

Hello WeWeb Team,

I hope this message finds you well. I recently tried out the Kanban component on your platform and encountered a potential issue. When I stacked the elements using the “Status” field, which is in text format, everything worked as expected. However, when I attempted to stack elements by the “Batch” field, which is an integer, the component didn’t seem to function properly.

I’m unsure if this is a bug or if I may have overlooked a specific setting or configuration. I would appreciate any guidance or clarification on this matter.

Thank you for your assistance and looking forward to your response. Please see attached photos for reference.

Best regards,  
Carlo

 ![stacked by Batch (number)](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/0/03951ed554257ab9b954987bf2b0eb1edd17e00d.png)  
 ![Stacked by status (text)](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/1/10363934effdace985937db29800048591952399.png)

---

<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:** [October 26, 2023, 8:37pm UTC](https://community.weweb.io/t/issue-with-kanban-component-stacking-by-integer-field/5080/2 "2023-10-26T20:37:24Z")

</div>

Hello, I have a feeling that WeWeb treating that 0 as a “0” resulting in a string might be an issue.  
What you can do is the following:

 ![Screenshot 2023-10-26 at 22.36.25](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/e/e240547518162ca2ff9eadd677fc0ad107ad9c2e.png)

Bind the stack to an array of object (each object is the combo of Label and Value - this one being a unique integer), this way you’re passing the 0 not the “0”, like this, it should work (it works for me)

---

<div class="post-metadata">

**Author:** ![carlo](https://avatars.discourse-cdn.com/v4/letter/c/c4cdca/32.png) [@carlo](https://community.weweb.io/u/carlo)\
**Post date:** [October 27, 2023, 5:02pm UTC](https://community.weweb.io/t/issue-with-kanban-component-stacking-by-integer-field/5080/3 "2023-10-27T17:02:39Z")

</div>

Hi @Broberto , thank you so much. Works perfectly. 😀
