directus-extension-computed-interface
directus-extension-computed-interface copied to clipboard
"compute if empty"
Hello!
I'm using this interface to generate a slug from a title field. I want the slug to be generated only if it hasn't been set yet during record creation. After saving the record, I don't want the slug to update automatically when I modify the title field. However, I still want the ability to manually edit the slug. I tried using the "compute if empty" option, but the slug field still updates whenever I change the title field.
How can I prevent the slug field from automatically updating after the initial save?
Cheers
Kamil
It's my case too