mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Add string-export support for related-values and translations display (#13263)
* Add string preview handler for related values display * Fix continue clause in for loop * Add string export for translations display * Handle null values better * ... while making sure false/0/'' still is considered a value
This commit is contained in:
@@ -22,7 +22,7 @@ export interface DisplayConfig {
|
||||
handler?: (
|
||||
value: any,
|
||||
options: Record<string, any>,
|
||||
ctx: { interfaceOptions?: Record<string, any>; field?: Field }
|
||||
ctx: { interfaceOptions?: Record<string, any>; field?: Field; collection?: string }
|
||||
) => string | null | Promise<string | null>;
|
||||
options:
|
||||
| DeepPartial<Field>[]
|
||||
|
||||
Reference in New Issue
Block a user