When I create a picker with "useSharedPicker: false" then it's incorrectly styled. It also looks like it doesn't get some of its defaults set.
Version: v13.0p_2024-03-10/AllModules Development Only
Reproduction code:
Version: v13.0p_2024-03-10/AllModules Development Only
Reproduction code:
Code:
isc.DynamicForm.create({
ID: "dateForm",
fields: [
{
name: "date1", title: "Date1", type: "datetime"
},
{
name: "date2", title: "Date2", type: "datetime",
useSharedPicker: false,
// this is to make issues more apparent
pickerProperties: {
buttonLayoutControls: ["nowButton", "todayButton", "cancelButton", "applyButton"],
showNowButton: true,
nowButtonDefaults: {
title: "Now",
padding: 2,
autoFit: true,
click: function () {
this.creator.setData(new Date())
}
},
},
},
]
});
- Show picker for Date2 - it's incorrectly styled, "Apply" button is missing.
- Show picker for Date1
- Show picker for Date2 - it's styled almost correctly, "Apply" button is still missing.
Comment