Bring Drag & Drop to Dash with Dashboard Engine. 💫 Learn how at our next webinar!

dcc.DatePickerSingle Field Width

When using the DatePickerSingle component with the following code, the field width cannot be altered to show the full length of the date string. The wrapper div width can be adjusted, but there’s no way to alter the width of the input box.

dcc.DatePickerSingle(
id="heat-date-picker",
date=dt.date.today(),
display_format='MMMM Do, YY',
day_size=50
)

image