Single select dropdown option labels not visible in app

* Describe the bug

I have configured a single select ‘status’ field in a collection and configured the options. In the configuration field everything looks good, but in the frontend the option label text is not visible.

* Environment

  • NocoBase version:
    1.7.15
  • Database type and version:
    Postgres
  • OS:
    Ubuntu
  • Deployment Methods:
    Docker
    nocobase/nocobase:latest

* How To Reproduce

Additional info

On mobile view the select option is visible, but another error screen shows up.

I had the status field set up as an association field before, linked to a wo_status collection. I deleted that and created a single select status field so it could be used in a kanban block.

Have you created a association field called “status” before?

Will deleting and re-adding this “status” field in the form solve the problem?

I tried deleting and re-adding but I get the same error. I then added it with a different field name and it works fine. There seems to be some kind of bug where after deleting an relation field with a specific name, adding a new field with the same field name creates an issue.

I just found the source of the issue: there was a workflow still avtive that relied on the field that was deleted. Apologies for the confusion. Perhaps it would be an idea to have a warning when a user tries to delete a field that is part of a workflow?