#2186 hide task attrs unless allocationMode == 'taskbased'