Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Numeric Fields for Labels Display - Configuration type problem #22752

Open
fredschmitz opened this issue Jun 13, 2024 · 0 comments
Open

Numeric Fields for Labels Display - Configuration type problem #22752

fredschmitz opened this issue Jun 13, 2024 · 0 comments

Comments

@fredschmitz
Copy link

Describe the Bug

Support for using labels display in numeric fields was add in #20267 and #20264, but it seems when configuring the "Choices" it always saves the "Value" as a string, so the label display doesnt work.

image

Just updating the JSON values to int seems to fix the problem.

To Reproduce

  • Create a new collection
  • Add an int field with interface as dropdown
  • Add a "Labels" display configuration

Directus Version

v10.12.1

Hosting Strategy

Self-Hosted (Docker Image)

Database

MSSQL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants