Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    TimeItem and linearOnMobile hint problem

    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:

    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()

    #2
    SmartClient Version: v13.1p_2025-01-13/AllModules Development Only (built 2025-01-13)

    Hello, I still see this issue.

    Comment


      #3
      hi Claudio - apologies for the long delay on this one - we're looking into it and will let you know when we have more information.

      Comment

      Working...
      X