I have 3 mui textfields with type "date" and "time" and they all have these ugly dashes which overflow with the textfield's label. When I put a value in the fields everything is ok, as in the picture, but if there is nothing it gets really ugly. Is there some way of removing the dashes from the 1st image.
Here is example of 1 of the textfields:
<TextField
required
className="form__input time"
id="endTime"
name="endTime"
value={formData.endTime}
label="End Time"
variant="outlined"
type="time"
onChange={(event) => eventHandleChange(event)}
/>