Skip to content

Conversation

danicaleroo
Copy link
Contributor

@danicaleroo danicaleroo commented Oct 10, 2025

What / Why

I've always felt that boolean cells could be more readable if they used standard colors to better differentiate true and false values.

Changes introduced

  • Added a data-checked attribute to the <code /> element to store corresponding boolean value.
  • Added data-checked scoped styles to color its badge accordingly.

Behavior after the fix

  • true badges use --theme-success color (blue)
  • false badges use --theme--error color (red).

How to test manually

  1. Run pnpm dev fields or similar
  2. Navigate to any collection list view where a checkbox field is used (with either true or false value).

Screenshot

image

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant