directus-extension-computed-interface icon indicating copy to clipboard operation
directus-extension-computed-interface copied to clipboard

"compute if empty"

Open kamil-malinski opened this issue 2 years ago • 2 comments

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

kamil-malinski avatar Sep 21 '23 11:09 kamil-malinski

It's my case too

sudomf avatar Oct 19 '23 20:10 sudomf