SmartClient Version: SNAPSHOT_v13.1d_2024-11-06/AllModules Development Only (built 2024-11-06)
Safari on iOS (XCode simulator - iPhone SE)
Hello, I just noticed that a timeItem, when linearOnMobile:true, has its text field sized to width: "*" and so the hint isn't visibile (unless you define a linearWidth).
Please try this test case:
Safari on iOS (XCode simulator - iPhone SE)
Hello, I just noticed that a timeItem, when linearOnMobile:true, has its text field sized to width: "*" and so the hint isn't visibile (unless you define a linearWidth).
Please try this test case:
Code:
isc.DynamicForm.create({
ID: "timeForm",
linearOnMobile: true,
fields: [
{name: "textTime", title: "Time #1", type: "time"},
{
name: "pickTime", title: "Time #2", type: "time",
minuteIncrement: 15,
useTextField: false
}
]
});
isc.Button.create({
ID: "showButton",
width: 125,
title: "Show Time Values",
getTime: function (itemName) {
var item = timeForm.getItem(itemName);
var inputTime = item.getValue();
return isc.Time.toTime(inputTime);
},
click: function () {
isc.say("Time #1: " + this.getTime("textTime") + "<br>" +
"Time #2: " + this.getTime("pickTime"));
}
});
isc.VStack.create({
membersMargin: 10, width: "100%", height: "100%", backgroundColor: "white",
members: [timeForm, showButton]
}).show()
Comment