croz-ltd / tiller

🔖 Tiller DS is an open-source UI library that provides a range of visual, functional components and patterns that speed up design and development.
https://croz-ltd.github.io/tiller
Apache License 2.0
28 stars 1 forks source link

DataTable doesnt support multiple optional columns #240

Closed ekus2 closed 6 months ago

ekus2 commented 8 months ago

Basic information

Bug description

When I need to have multiple optional columns I need to have logic for each column individually.

Steps to reproduce

Something like this wont show other two columns even if condition is met.

{condition1 && ( <> )}

It can only work if i do it like:

{condition1 && ( )} {condition1 && ( )}

Expected behavior

Allow multiple coulumns in one condition.