I just tried to introduce a new date field on an old Visualforce page like this:
<apex:input value="{!fromDate}" type="date" label="From:"/>
In the controller the variable is defined like this:
public Date fromDate { get; set; }
This works nicely but if I want to deploy this to production via a change set I get an error:
Input type 'date' does not support ANY data type. Try setting type to 'text'
Any idea what causes this at the time of deployment? Is this one of those weird "Salesforce does something completely different when deploying" kind of situations? I don't even understand what that error means.