Fix to the date input year field

Create the field if no value is informed only to the maxYear and not to
the current date