Autoremove Deadline when task is done

Hey guys,

I would like to ask, atm when a task with an attached deadline is done I manually remove the “Deadline” line below. Is it possible to make it remove automatically the deadline part when we hit the “Later” box?

Στιγμιότυπο οθόνης 2022-06-21 110259