how to set a default date for a Material-ui TextField Type=date
问题 I just started working with React and I am trying to use a date picker using the material it looks like this: <TextField name="someDate" label="Some Date" InputLabelProps={{ shrink: true, required: true }} helperText={errors.someDate} FormHelperTextProps={{ hidden: !this.hasError('someDate') }} type="date" error={this.hasError('someDate')} onChange={this.handleSomeDateChange} value={values.someDate} /> Setting: type="date" gives me the date picker but it also overlays the format for the