Commit 0caea33
fix(grid): list column header falls back to field label, not prettified name (#1991)
A bare { field } column (no explicit label) rendered its header from the prettified
machine name even when the field had a localized label, so non-English apps showed
English column headers. ObjectGrid now resolves header = column.label -> schema field
label -> prettified name, matching the other header sites (lines ~1027/1104).
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent e301475 commit 0caea33
2 files changed
Lines changed: 19 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
860 | 860 | | |
861 | 861 | | |
862 | 862 | | |
863 | | - | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
864 | 870 | | |
865 | 871 | | |
866 | 872 | | |
| |||
0 commit comments