Date picker in panel expects a day, even if I set display and step to year/month?

    year:
      type: date
      display: YYYY
      step: year

Hey there, I was wondering if that´s a bug or just the date picker default. Or should it show me only years with this setting? If I want users to select a year (or a month only), it is strange, that they will have to select a specific day for that.

Yes, I could use a number field. But it feels hacky for a common thing like a date/year/month.

You could deactivate the calendar while preserving the date validation.

I’m not really sure a picker is the right tool for just a date or month/date selector, unless the library we use has an option to switch to separate month/year selectors.