the attribute of your task is observable (function), so to apply verification to it, you must pass the object using ().
self.taskErrors = ko.validation.group(self.task());
You must be careful when your object is observable.
self.task = ko.observable(new JobTask());
You can access its attribute as follows:
console.log(self.task().description);
Not this way:
console.log(self.task.description);
A task without () is not an object, but a trick.
Here is your working fiddle: http://jsfiddle.net/mounir/5kh6h/5/
Good luck.
source share