I need to prevent editing on a record after a condition is met, say status -> closed
i got recommended this, however, if the function exists i can't find any documentation on it, and it doesn't work
ifThen( entity\attribute('status') == 'Closed', entity\setReadOnly(true) )
thanks,
i got recommended this, however, if the function exists i can't find any documentation on it, and it doesn't work
ifThen( entity\attribute('status') == 'Closed', entity\setReadOnly(true) )
thanks,

Comment