Hi,
I am currently creating tasks by setting start and end dates.
I was wondering if it would be possible to introduce a duration field and then I could choose if using the dates or one date and the duration.
Would it be possible to add the duration field in the dialog, on which I will compute the other date?
I tried adding the field but I got errors, I think because it doesn't exist in my task class.
How could I add an input in the dialog and before hitting save, it will compute the missing date?
Would it be possible to hide/show inputs by pressing a button? I was thinking of inserting three buttons: Start/End date, Start+duration and End+Duration.
Thank you.
Best regards,
Matteo Messmer