Skip to content

Calendar widget (jQuery UI DatePicker) with numberOfMonths = 2 or more #7379

Closed
@atihomirov

Description

@atihomirov

Preconditions

  1. Magento version 2.1.1
  2. file \lib\web\mage\calendar.js

Steps to reproduce

  1. set options to widget 'numberOfMonths'=> array(1,3),
  2. set options on widget to any non-default values for 'numberOfMonths'

Expected result

  1. jQuery UI DatePicker Widget with a list of months

Actual result

  1. the first month is normal - the remaining corrupted
  2. month header repeat
  3. next month days not show

change:
add line 248: "calender = '';
reinit loop values
line 277: for (dow=0;...
line 295: for (dRow=0;...

Metadata

Metadata

Assignees

Labels

Area: FrontendFixed in 2.1.xThe issue has been fixed in 2.1 release lineFixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.1.xThe issue has been reproduced on latest 2.1 releaseReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 releasebug reporthelp wanted

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions