showing results for - "daterangepicker start and end date in one textfeild material ui"
Arianna
21 Sep 2019
1<DateRangePicker
2     renderInput={({ inputProps, ...startProps }, endProps) => {
3          const startValue = inputProps.value;
4          delete inputProps.value
5          return (
6            <TextField
7              {...startProps}
8              inputProps={inputProps}
9              value={`${startValue}-${endProps.inputProps.value}`}
10           />
11)}/>
12
13