Skip to content

[Bug]: Tag Column Type in Tables does not map to JSON correctly #1864

Open
@ScottKemp

Description

@ScottKemp

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

This possibly could be a feature request, but also might be a bug. I am used to how retool does it and maybe lowcoder is different.

I want to have a column in a table be tags (or "pills") . I want the values and formatting of the pills to be dynamic based on lookups of a database. I have created a sample lookup table:

[{id:"1", name: "Text 1", color: "#ff0000"},{id:"2", name: "Text 2", color: "#00ff00"}]

and then the value in the column for the table would be something like "1". I then expect the table to look up "1" and display "Text 1" with a color "#ff0000"

I have attached a module that shows the problem.

The Select column types seems to have this lookup like I want, but the Tag column does not.

Expected Behavior

I want the Tag Column to index the dynamic mapped values correctly

Steps to reproduce

Load the attached module. "Department" tags should be "Text 1" and "Text 2", not "1" and "2"

Table Tag Column Broken.json

Environment

Lowcoder Self Hosted 2.7.2

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions