Changes the default from BaseDate to chosen type in the Date Picker Component.
BaseDate
The type must be a sub-type of BaseDate.
type