Reputation: 67
does anyone know how to remove the dd/mm/yyyy from this control, not just the text but the space it takes?
Upvotes: 0
Views: 518
Reputation: 1751
Inside your TextField add helperText as empty String.
<TextField {...startProps} variant="standard" helperText=""/>
<Box sx={{ mx: 2 }}> to </Box>
<TextField {...endProps} variant="standard" helperText=""/>
Upvotes: 1