879 B
879 B
Quick 261007-qgx: admin record heading uses translatable (mltext) fields
recordDisplayName(fields, values, enabledLocales)inadmin/src/components/form/formState.ts: the firsttextor ML field in schema order names the record; an ML value reads the default (first enabled) locale, then the first non-empty locale, else '' (the generic message stays).- FormView and PreviewView both use it with
schemaEnabledLocales(schema.meta); plaintextbehaviour is unchanged. - Tests: five helper cases in
formState.test.ts; FormView and PreviewView cases for an mltext first field (heading and record crumb). Both view tests fail without the fix. Admin suite 1090/1090,go vetandgo test ./...green. - Embedded admin shell rebuilt (
modules/boardwalk/dist), shipped as v0.1.12.