override value method to return method name when object is nil

This was causing an error when using a custom date picker (bootstrap).
The problem was resolved when the value returns something other than
nil.