Fix an assertion failure in CalendarPickerElement::hostInput().