directus-interface-uuid-file-image

Interface for your UUID fields, in JSON repeater for example

Installation

npx directus-extension build

And then move the built dist/index.js file into a new directory of your extensions/interfaces

Example of usage in a JSON repeater field

Capture d’écran 2021-11-23 à 09 57 53

To do (next version)

When the file's selected, I currently set in uuid field the filename_disk key of the file.

I wanted this to be set by the user into interface options (props.file_key_to_get: String), but I didn't added it yet in src/index.ts.

GitHub

https://github.com/stouch/directus-interface-uuid-file-image