-
Notifications
You must be signed in to change notification settings - Fork 75
Closed
Labels
Description
Hi Guys,
After execute
$().MonthPicker('options', 'SelectedMonth', 'mystringmonth')
alternative field keep old value
I don't know if this is a issue o normal behavior
i try update _setSelectedMonth
_setSelectedMonth: function (_selMonth) {
var month = _encodeMonth(this, _selMonth), _el = this.element;
if (!month) {
_el.val('');
this._updateAlt(0, ''/*i´m not sure how to send empty value */);
} else {
var d = new Date(_toYear(month), month % 12, 1)
_el.val(this._formatMonth(d));
this._updateAlt(0, d);
}
this._ajustYear(this.options);
this._showMonths();
},
thansk for your attention