I want to display data by month. (date_input)

date = date_input(‘date’)

date_input allows you to select year, month and day.
I want to use it without selecting a days.

Please give me some advice.

Probably the easiest solution is to use two inputs, one to select month and another to select year. You could use two number inputs, or two selectboxes, etc.