[datepicker] Trigger onchange when selecting date

Fixes #2261