Hi Isomorphic,
please see the video of this modified testcase (v12.0p_2020-07-02).
As you can see, after the item has stored the two datetimes (after selecting the 1st one twice, see ticket here), it forgets about the times (see the 12:00 in the popup and compare to the 23:59 in the "to"-field when selecting).
Also, eventually the time-selection is no longer displayed in the DateItem for subsequent openings.
Note that the problem here might be somehow related to nextShipment-field being of type="date" in the .ds.xml and not datetime (please also try it like that and modify the .ds.xml)
For me, it also happened the same with datetime-fields where also the time is ignored. This is a problem, as then the entries from the whole last day are missing (00:00 vs 23:59).
(this is what happened for me).
Also the time selection disappears here (=for datetime-fields) for subsequent openings, too (last seconds of the video), which clearly is wrong.
Best regards
Blama
please see the video of this modified testcase (v12.0p_2020-07-02).
As you can see, after the item has stored the two datetimes (after selecting the 1st one twice, see ticket here), it forgets about the times (see the 12:00 in the popup and compare to the 23:59 in the "to"-field when selecting).
Also, eventually the time-selection is no longer displayed in the DateItem for subsequent openings.
Note that the problem here might be somehow related to nextShipment-field being of type="date" in the .ds.xml and not datetime (please also try it like that and modify the .ds.xml)
For me, it also happened the same with datetime-fields where also the time is ignored. This is a problem, as then the entries from the whole last day are missing (00:00 vs 23:59).
(this is what happened for me).
Also the time selection disappears here (=for datetime-fields) for subsequent openings, too (last seconds of the video), which clearly is wrong.
Best regards
Blama
Code:
isc.ListGrid.create({ ID:"dsListGrid", width: "100%", height: "100%", autoFetchData: true, dataSource: "supplyItem", canEdit:true }); isc.DynamicForm.create({ ID: "dateForm", width: "100%", fixedColWidths: true, colWidths: [190, "*"], isGroup: true, dataSource: "supplyItem", groupTitle: "Date filter", fields : [ { name: "nextShipment", title: "Mini Date Range", editorType: "MiniDateRangeItem" }, { name: "button", title: "Show filter criteria as object", editorType: "ButtonItem", click: function (form, item) { isc.say(form.getValuesAsAdvancedCriteria() + '<br />' + form.getValuesAsAdvancedCriteria().operator) } }, { name: "button2", title: "Show filter criteria readable", editorType: "ButtonItem", click: function (form, item) { isc.say(DataSource.getAdvancedCriteriaDescription(form.getValuesAsAdvancedCriteria(), supplyItem)) } }, { name: "button2", title: "Filter", editorType: "ButtonItem", click: function (form, item) { dsListGrid.filterData(form.getValuesAsAdvancedCriteria()) } } ] }); isc.VLayout.create({ membersMargin: 10, members: [dsListGrid, dateForm], height: "100%", width: "100%", });
Comment