SmartClient Version: v11.1p_2018-10-04/AllModules Development Only (built 2018-10-04)
Hello, I've just discovered by chance what seems a weird bug. Please try this test case in the #fetchOperationFS sample:
Then:
- select a record
- insert a nextShipment date
- click submit, it is correctly saved
- change a digit in the date, don't tab out
- click submit, it isn't saved (it submits the previous value), click another time and then it's saved
Actually it was a mistake and I don't want the canFocus: false in the Button definition, so it isn't affecting me, but I wanted to report it anyway.
Hello, I've just discovered by chance what seems a weird bug. Please try this test case in the #fetchOperationFS sample:
Code:
isc.VLayout.create({
width: "100%",
height: "100%",
membersMargin: 5,
members: [
isc.DynamicForm.create({
ID: "dsForm",
dataSource: "supplyItem",
numCols: 4,
items: [
{name: "itemName"},
{
name: "nextShipment",
useTextField: true
}
]
}),
isc.Button.create({
title: "submit",
canFocus: false,
autoFit: true,
icon: "icons/disk-black.png",
iconSpacing: 0,
prompt: "submit",
hoverWidth: 1,
click: function () {
dsForm.saveData();
}
}),
isc.ListGrid.create({
ID: "dsListGrid",
height: "100%",
autoFetchData: true,
dataSource: "supplyItem",
recordClick: function (viewer, record, recordNum, field, fieldNum, value, rawValue) {
dsForm.fetchData({itemID: record.itemID});
}
})
]
});
- select a record
- insert a nextShipment date
- click submit, it is correctly saved
- change a digit in the date, don't tab out
- click submit, it isn't saved (it submits the previous value), click another time and then it's saved
Actually it was a mistake and I don't want the canFocus: false in the Button definition, so it isn't affecting me, but I wanted to report it anyway.