Announcement

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

  • 6.1p Tahoe: Display Problem with SelectItem and ComboBoxItem when using readOnlyDisplay: "static" and canEdit: false

    Hi Isomorphic,

    please see this modified 6.1p sample (v11.1p_2017-11-21):
    Code:
    isc.DynamicForm.create({
        ID: "form2", readOnlyDisplay: "static", canEdit: false,
        width: 620,
        colWidths: [190, "*"],
        isGroup: true,
        groupTitle: "Select / Combo Controls",
        fields : [
        {
            name: "comboBoxItem", title: "Item Name", editorType: "ComboBoxItem", optionDataSource: "supplyItem", wrapTitle: false,
            displayField:"itemName", valueField:"SKU", hint: "foobar"
        },
        {
            name: "selectItem", title: "Select", editorType: "SelectItem", optionDataSource: "supplyItem", wrapTitle: false,
            displayField:"itemName", valueField:"SKU", hint: "foobar"
        }],
        values: {comboBoxItem: "Spray Adhesive Multipurpose Can No.76 3M", selectItem: "Spray Adhesive Multipurpose Can No.76 3M"}
    });
    On load, the generated html looks like this:
    Click image for larger version

Name:	canEditFalseStaticSelectItem.PNG
Views:	1
Size:	19.9 KB
ID:	250490
    After hovering the code changes to the expected staticTextItem:
    Click image for larger version

Name:	SelectItem Hovering.gif
Views:	1
Size:	28.1 KB
ID:	250491

    This one and the other readOnlyDisplay: "static", canEdit: false issue I reported are not urgent for me now, as the code is not going to production in the next weeks, but it would be great if it got fixed eventually.

    Thank you & Best regards
    Blama

  • #2
    Hi Isomorphic,

    could you reproduce this one? This is still happening the same way with v11.1p_2017-12-29.

    Best regards
    Blama

    Comment


    • #3
      Apologies fro the delay, this one slipped through the net - we do see this effect, and we'll take a look at addressing it at the top of the new year, along with your other skin-related reports.

      In the meantime, you should be able to fix it by just calling form.setReadOnlyDisplay() or form.setCanEdit() after create time.

      Comment


      • #4
        Hi Isomorphic,

        did you have a chance to tackle this one, yet?

        Best regards
        Blama

        Comment


        • #5
          Not as yet - we'll bump it up the queue and update here when it's fixed.

          Comment


          • #6
            By way of a followup on this one - are you still seeing the misbehavior? We no longer see it in testing your use case.

            Comment


            • #7
              Hi Isomorphic,

              yes, it happens with the same code as in #1 in v11.1p_2018-02-07 (Win 10, tested FF26 and Chromium 64.0.3282.140). You need to hover the items.

              Best regards
              Blama

              Comment


              • #8
                Are you seeing it outside of the Showcase/in your app? We do see it in the showcase, most likely a side-effect of special logic there to handle cross-sample visibility - but we see no issues in a standalone test.

                Comment


                • #9
                  Hi Isomorphic,

                  yes I saw it outside the showcase in my application in a very rough mobile-prototype (same GWT project, same onModuleLoad(), but for now different codepath than the normal application (I know that you advise else, but for now it seemed to be the simplest that way)).
                  As I was able to reproduce in the showcase I did not think that this information was important.
                  There is also another issue in the prototype, it seems that the date picker for a DateItem is drawing itself a little bit (~2px) too high, so that it introduces "scrolling" (=you can move the content a little bit with the finger).
                  Also after closing the date picker the issue then stays at it is. I think this is because the calendar is only hidden, but not destroyed.

                  Best regards
                  Blama

                  Comment

                  Working...
                  X