Array data types in tables

One of the most common attributes that gets displayed in a table is an array. I really think that there should be an array tag type in Retool. Right now there isn't really a good alternative other than mark down and changing it to a string.

1 Like

If any one wants some easy tags this is what we ar using for now:

column type: html
Mapped Value :

<div style="display:flex; flex-wrap: wrap">
{{self.map(item => `<span 
style="
  background-color: lightgrey;
  color:black;
  padding: 3px 8px; 
  border-radius: 78px; 
  font-weight: 500;
  margin: 4px;"
>
  ${item}
</span>`).join(' ')}}
</div>
1 Like

We're working on this now actually! :wink:

1 Like

Do you have an approximate release date for this?

1 Like

Just asked the eng team working on this, will let you know once I hear back!

This should be available on our upcoming table version, which should be live by June of this year! In the meantime, if you're ready and willing to provide feedback, I may be able to get you enrolled in a beta even sooner :eyes: Let me know!