Ticket #4301 (closed bug: fixed)

Opened 6 years ago

Last modified 5 years ago

Datepicker: option dateFormat getter does not return same value as setter

Reported by: martin-kissel Owned by:
Priority: critical Milestone: 1.7.2
Component: ui.datepicker Version: 1.6rc6
Keywords: Cc:
Blocking: Blocked by:

Description

Setting an option after initialization using for example $(#datepicker).datepicker('option', 'dateFormat' , 'mm/dd/yy'); works fine, but trying to retrieve a value using alert($(#datepicker).datepicker('option', 'dateFormat')); returns [object Object].

Change History

comment:1 Changed 6 years ago by rdworth

  • Priority changed from minor to critical
  • Summary changed from Getting options after initialization of UI returns object to Datepicker: option dateFormat getter does not return same value as setter
  • Component changed from ui.core to ui.datepicker
  • Milestone changed from TBD to 1.8

comment:2 Changed 5 years ago by kbwood

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

Fixed in r2418.

comment:3 Changed 5 years ago by rdworth

  • Milestone changed from 1.8 to 1.7.2
Note: See TracTickets for help on using tickets.