Our flexible Kanban board for managing tasks with drag drop


Post by ahelis »

We are binding our card data model into each card, and have run into a problem with the default supported attributes/fields in the taskboard. We configure the fields that get displayed, and one field name we use is 'description'. This renders inside our layout as configured, but we are getting a duplicate description rendered into the bodyItems section above our rendered component.

description-duplicating-body-items_01-11-2023.png
description-duplicating-body-items_01-11-2023.png (48.24 KiB) Viewed 1104 times

I am unable to find a simple way to ignore the ootb attributes that seem to be hard coded in the library. The only way I was able to 'hide' these was to target the dom nodes in the DOM, like:

<style>
    div[data-role="item-description"] {
        display: none;
    }
</style>

While hiding via css works I would like a cleaner approach preferably in configuration. Any suggestions are appreciated.


Post by ahelis »

For Reference:
Taskboard Version: 5.2.3


Post by tasnim »

Could you please upload the code that you're using to reproduce it? so we can debug it?

Best of luck,
Tasnim


Post by ahelis »

Hi Tasnim,

Please close the ticket, we will ship with the css workaround. It seems that the card attribute 'description' is hard coded in the library and we have the same attribute from our model.

Thanks


Post Reply