Skip to content

Add config to use key value on options, layout tweaks - #84

Merged
andreia merged 1 commit into
4.xfrom
key_value_options
Aug 18, 2026
Merged

andreia merged 1 commit into
4.xfrom
key_value_options

Conversation

@andreia

@andreia andreia commented Aug 18, 2026

Copy link
Copy Markdown
Member

Details

  • Add options_editor config (tags default or key_value) with per-type map and Closure support so keyed option maps display correctly in the Fields relation manager
  • Rework the create/edit field form layout: type, order and required share the first row, while label, options and hint each get a full-width row
  • Build only the options editor matching the field type, so keyed option maps keep their stored keys instead of being flattened by the other editor's hydration
  • Name the dynamic tenant relationship explicitly, fixing Call to undefined relationship [{closure...] when refreshing or eager loading a model whose tenant was associated by Filament
  • Truncate long Labels on the Fields table to 60 characters and show the full text in a tooltip when truncated

@andreia
andreia requested a review from swilla August 18, 2026 00:45
@andreia
andreia merged commit 08f855c into 4.x Aug 18, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant