Announcement

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

    Warning in console with titleOrientation: "top" and field width: "100%"

    Hi, I have two warnings in Chrome 92.0.4515.159 (and Firefox 90.0.2) javascript console when using forms with titleOrientation: "top" and field width: "100%":
    *13:58:21.459:MUP5:WARN:sizing:isc_TextItem_10[text]:getVisibleWidth() unable to determine width - returning zero
    *13:58:21.460:MUP5:WARN:Canvas:isc_measureContentCanvas:can't resize to width: 0; clamping to 1 [enable 'sizing' log for stack trace]
    You can test the issue pasting the following code in the Showcase (currently version 12.1p - 2021-08-28).

    Code:
    isc.DynamicForm.create({
        ID: "form1",
        width: 620, titleOrientation: "top", numCols: 1,
        fields: [
            { width: "*", name: "text", title:"Text", type:"text"},
        ]
    });
    The form is eventually displayed correctly.
    The OS is Windows 10.

    Is it a bug?

    Thanks

    Claudio

    #2
    Thanks for the report - yes it's a bug, already under investigation - we'll update here shortly when it's been fixed.

    Comment

    Working...
    X