statusTypeExists($previousValue)) { // render status as badge $previousValue = JHtml::fetch('vbohtml.taskmanager.status', $taskManager->getStatusTypeInstance($previousValue), ['editable' => false]); } if ($currentValue && $taskManager->statusTypeExists($currentValue)) { // render status as badge $currentValue = JHtml::fetch('vbohtml.taskmanager.status', $taskManager->getStatusTypeInstance($currentValue), ['editable' => false]); } return parent::doDescribe($previousValue, $currentValue); } }