You need to sign in to do that
Don't have an account?
ERROR: Value '2016-07-28 00:00:00' cannot be converted from Text to com.force.swag.soap.DateOnlyWrapper
I have a VF Page that expects a date in HTML field, and onclick of a button - the value is being binded to
<apex:inputHidden value="{!CaseRecord.StartDate__c}">
I am getting the Value '2016-07-28 00:00:00' cannot be converted from Text to com.force.swag.soap.DateOnlyWrapper error.
Can anybody help out why is this happening and what is the workaround? I see that people used String or similar, but i am binding this directly to the record field. Having temporary String variable on the page and then binding the value on the controller is not an ideal solution, does anybody have any other idea?
Thank you
https://success.salesforce.com/issues_view?id=a1p300000008dpwAAA
Why are you not using the apex:inputField in your page?