Adding setDate method in DateInputFormField.