Description
These widgets should only display the relevant spinner columns and exclude the "Day" input.
- Month-Year Widget: Displays two spinners (Month, Year). Triggered by
appearance="month-year" on a date type question.
- Year Widget: Displays a single spinner (Year). Triggered by
appearance="year" on a date type question.
Checklist
- Does it need UI/UX design?
- Does it need API design?
- Does it need design around state flow?
- Does it need a test plan?
User Stories
-
As a data collector,
I want to record only the year a building was constructed,
so that I don't have to guess or enter an irrelevant day and month.
-
As a data collector,
I want to select a "Month and Year" for a patient's last check-up,
so that the data entry is faster and more accurate for events where the specific day is forgotten.
Design
Dependencies
- Existing
DateInput component architecture.
- Internationalization (i18n) library for localized month names.
Related Issues
Description
These widgets should only display the relevant spinner columns and exclude the "Day" input.
appearance="month-year"on adatetype question.appearance="year"on adatetype question.Checklist
User Stories
As a data collector,
I want to record only the year a building was constructed,
so that I don't have to guess or enter an irrelevant day and month.
As a data collector,
I want to select a "Month and Year" for a patient's last check-up,
so that the data entry is faster and more accurate for events where the specific day is forgotten.
Design
Dependencies
DateInputcomponent architecture.Related Issues