Ticket #2876 (closed enhancement: fixed)

Opened 6 years ago

Last modified 6 years ago

DatePicker: selectors don't fire any event.

Reported by: acolonna Owned by: grabanski
Priority: major Milestone: 1.5.1
Component: ui.datepicker Version: 1.5
Keywords: datepicker calendar Cc:
Blocking: Blocked by:

Description

DatePicker's month and year selectors do not fire any event when the used picks a month or year.

The best thing would be for the component to trigger an event like "onMonthSelect" and "onYearSelect", carrying the new date information within the event object.

Change History

comment:1 Changed 6 years ago by anonymous

  • Milestone 1.2.4 deleted

Milestone 1.2.4 deleted

comment:2 Changed 6 years ago by paul

  • Owner paul deleted
  • Version changed from 1.2.3 to 1.5b4
  • Component changed from ui.core to ui.datepicker

comment:3 Changed 6 years ago by paul

  • Type changed from bug to enhancement

comment:4 Changed 6 years ago by paul

  • Owner set to grabanski
  • Status changed from new to assigned

comment:5 Changed 6 years ago by kbwood

  • Status changed from assigned to closed
  • Resolution set to fixed

Added onChangeMonthYear setting to notify of changes to month/year in the datepicker. This option should be set to a function that takes a date as a parameter (the first of the new month/year) followed by a reference to the current datepicker instance. 'this' refers to the original input field.

comment:6 Changed 6 years ago by rdworth

  • Milestone set to 1.5.1

comment:7 Changed 6 years ago by rdworth

  • Version changed from 1.5b4 to 1.5
Note: See TracTickets for help on using tickets.