How to apply or change background color in date type <TextField> component in Material UI

Here is the code snippet:-

     <TextField  variant="outlined"

      type="date"

      id="by-this-date"

      size="small"

      inputProps={{ min: disableDate(), background: 'yellow'}}

      onChange={updateWhatIfDate}

      value={expiryDateFormatted}

      style={{ width: '100%' }}

    />

Current Output:-
image

I want to change the background color of this calendar type=‘date’.

Your precious answer will be a lot for me.
Thanks in advance

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.