You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/builder/README.md
+17-14Lines changed: 17 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -462,7 +462,7 @@ Navigation: **Fields → Field Groups**
462
462
|**Visibility**| Per context: admin, frontend, API (`visible_*` toggles) |
463
463
|**Conditional logic**| Show/hide rules based on sibling field values (root, group, repeater, flexible layout) |
464
464
|**Table column**| Optional list-column settings for scalar, media, and relation fields — see [Table columns](#table-columns)|
465
-
|**Table filter**| Optional list-filter for select, radio, button_group, toggle, and single relation fields — see [Table filters](#table-filters)|
465
+
|**Table filter**| Optional list-filter chip for select, radio, button_group, toggle, single relation, and text-like fields — see [Table filters](#table-filters)|
466
466
467
467
Repeater rows are collapsed by default and show type, key, and required flag in the label.
468
468
@@ -523,17 +523,20 @@ public static function table(Table $table): Table
523
523
524
524
## Table filters
525
525
526
-
Opt-in Filament list filters for custom fields. Filtering runs as subqueries on `builder_field_values` — the consumer model needs no filter scopes.
526
+
Opt-in Filament list filter chips for custom fields. Filtering runs as subqueries on `builder_field_values` — the consumer model needs no filter scopes.
527
527
528
-
### Supported field types
528
+
One filter chip per filterable field, compiled from the **Show in table filter** toggle:
529
+
530
+
| Field type | Filter chip |
531
+
|------------|-------------|
532
+
|`select`, `radio`, `button_group`|`SelectFilter` (options from field definition) |
**Not filterable at all:**number, range, date, datetime, media, multiselect/checkbox list, and compound fields (group, repeater, clone, flexible content) — no dedicated filter chip is compiled for these.
537
540
538
541
### Admin setup
539
542
@@ -585,11 +588,11 @@ Other resources with `HasCustomFields` do **not** get filters automatically —
585
588
FieldGroup (show_in_filter = true)
586
589
→ DefinitionRegistry
587
590
→ TableFilterCompiler
588
-
→ SelectFilter / TernaryFilter
591
+
→ SelectFilter / TernaryFilter / Filter (text)
589
592
→ CustomFieldTableFilterQuery (subquery on builder_field_values)
590
593
```
591
594
592
-
Only fields marked `settings.show_in_filter` in active, location-matched groups are compiled. Filter names use the field key (`fuel`, `accident_free`, …).
595
+
Only fields marked `settings.show_in_filter` in active, location-matched groups are compiled. Filter (chip) names use the field key (`fuel`, `accident_free`, …).
-**Per-context visibility** — `visible_admin`, `visible_api`, `visible_frontend` (admin + API wired)
1146
1149
-**Location rules** — entity, record type, record status, user role, taxonomy term IDs (admin constraints + import/export)
1147
1150
-**Table columns** — opt-in list columns for scalar, media, and relation fields (`TableColumnCompiler`)
1148
-
-**Table filters** — opt-in list filters for select, radio, button_group, toggle, and single relation fields (`TableFilterCompiler`, `CustomFieldTableFilterQuery`)
1151
+
-**Table filters** — opt-in filter chips for select, radio, button_group, toggle, single relation, and text-like fields (`TableFilterCompiler`, `CustomFieldTableFilterQuery`)
1149
1152
-**Field width grid** — 12-column layout per field (`FieldWidth`)
1150
1153
-**Sidebar placement** — `main` vs `sidebar` field group slots
1151
1154
-**Translations** — definition + value locales (Astrotomic + `builder_field_values.locale`)
Copy file name to clipboardExpand all lines: packages/builder/resources/lang/de/builder.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -135,7 +135,7 @@
135
135
'show_in_table' => 'In Tabelle anzeigen',
136
136
'show_in_table_helper' => 'Fügt dieses Feld als Spalte auf den Listen-Seiten hinzu. Standardmäßig ausgeblendet; über den Spalten-Umschalter aktivierbar.',
137
137
'show_in_filter' => 'Als Listenfilter',
138
-
'show_in_filter_helper' => 'Fügt einen Listenfilter für Auswahl-, Wahr/falsch-und Beziehungsfelder hinzu. Standardmäßig aus.',
138
+
'show_in_filter_helper' => 'Fügt einen Listenfilter für Auswahl-, Wahr/falsch-, Beziehungs- und Textfelder hinzu. Standardmäßig aus.',
139
139
'show_in_filter_relation_multiple_helper' => 'Listenfilter gibt es nur für einfache Beziehungsfelder (ohne Mehrfachauswahl).',
140
140
'show_in_filter_relation_entity_helper' => 'Zuerst „Beziehung zu“ wählen, dann den Listenfilter aktivieren.',
141
141
'show_in_filter_choice_options_helper' => 'Mindestens eine Option hinzufügen, bevor der Listenfilter aktiviert werden kann.',
0 commit comments