U4-5333 - Datepicker starts on today's date instead of current value when you switch nodes

Created by Tom Van Rompaey 11 Aug 2014, 12:10:36 Updated by Shannon Deminick 15 Aug 2014, 19:45:19

When you go directly to a node and use the datepicker, the selected date in the calender will be the current value in the property editor. But when you change to another node and use the datepicker, the selected date in the calender will be today's date instead of the current value in the property editor.

3 Attachments

Comments

Sebastiaan Janssen 11 Aug 2014, 14:39:43

Changing the config in datepicker.controller.js to the following fixes this, not sure if that's a good way to do it @Per.Ploug @Shandem ?

var config = { pickDate: true, pickTime: true, pick12HourFormat: false, format: "yyyy-MM-dd hh:mm:ss", value: $scope.model.value };


Shannon Deminick 15 Aug 2014, 19:44:18

That didn't seem to fix it for me, I've fixed in rev: 1686e2f4bf88d4e769a1e39258dae9269c132170


Priority: Normal

Type: Bug

State: Fixed

Assignee: Shannon Deminick

Difficulty: Normal

Category: Editor

Backwards Compatible: True

Fix Submitted: Inline code

Affected versions: 7.1.4

Due in version: 7.1.5

Sprint:

Story Points:

Cycle: