I got problem about change duration unit, I can change it to hour by return data from api and add property durationUnit = hour ==> this setting is OK for old task.
1.png (54.11 KiB) Viewed 660 times
Problem happen on add new task: duration unit back to day. Please share me the way to set it to hour
Have debugged with @JockeLindberg, and it seems to be doing what it should. Closing ticket as invalid
It mean: no need to fix anything?
BTW, current I used version 5.1.5. Now I need to upgrade to 5.2.4 for fix this bug?
Re: [REACT] Change duration unit
Posted: Fri Dec 02, 2022 6:58 am
by alex.l
Hi hien.nguyen,
When you change default value for TaskModel, all duration values will be interpreted as value in new durationUnit units, if these tasks doesn't have own value in record data.
BTW, current I used version 5.1.5. Now I need to upgrade to 5.2.4 for fix this bug?
No, the team decided this is expected behaviour.
Re: [REACT] Change duration unit
Posted: Fri Dec 02, 2022 7:02 am
by hien.nguyen
Yes,
durationUnit is OK, but new problem I got about: horizontal bar not display?
My problem related with above git issue #5512 and detail in topic viewtopic.php?t=20176
Re: [REACT] Change duration unit
Posted: Mon Dec 05, 2022 3:07 am
by hien.nguyen
Hi team,
I still have problem with no horizontal bar, please help me.
Re: [REACT] Change duration unit
Posted: Mon Dec 05, 2022 6:43 am
by alex.l
horizontal bar not display?
Do you have something to scroll? I see full project is displayed on the viewport, so nothing to scroll, that's why no scrollbar appeared.
Does it look different for you?