MonthPicker
Description
A control to select a year and month
MonthPicker lets users select a specific year and month using the browser's native month-input widget. It is ideal when day-level precision is unnecessary, such as selecting billing periods, report months, or subscription renewal dates.
The component surfaces the selected value as a typed (year, month) tuple, removing the need for manual string parsing.
API reference
public class MonthPicker : MomentPickerBase<MonthPicker, (int year, int month)>A form input for picking a single calendar month (year + month), backed by the browser's native month input.
Constructors
Samples
Basic MonthPicker
With Min / Max Constraints
Interactive Selection with Live Feedback
This sample displays the most recently selected month and a running count of changes, demonstrating how OnChange can drive any downstream UI such as report filters or billing-period summaries.