Announcement

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

    requiredTitleSuffix property after setting canEdit false.

    Hi,

    We observe an issue that requiredTitleSuffix lost after setting canEdit false.

    It can be reproduced on SmartClient_v83p_2015-09-02_PowerEdition but not able to reproduce on SmartClient_v91p_2015-03-28_PowerEdition.

    Please check the following standalone for reproduce.

    Step: Click the button to see that requiredTitleSuffix lost after setting canEdit(false);

    Thanks,
    Robin

    Code:
    isc.DynamicForm.create({
        ID: "exampleForm",
        width: 250,
        requiredTitleSuffix: "*</B>",
        fields: [
            {name: "username",
             title: "Username",
             defaultValue: "bob",
             ID: "TF",
             required: true
            }
        ]
    });
    
    isc.IButton.create({
        top: 50,
        title: "Switch CanEdit",
        click: function() {
            var canEdit = TF.canEdit;
            if (canEdit == null)
                canEdit = true;
            TF.setCanEdit(!canEdit);
        }
    })

    #2
    As you note, this appears to be working in the latest branch (10.0), as well as 9.1.
    8.3 is a couple of versions behind the current release and while we will back port fixes this far in some cases, we can't always guarantee it will be practical to do so.

    More importantly if you're doing active development we wouldn't recommend you work with a branch that isn't the latest. In addition to missing out on features, you may encounter edge case bugs like this which are already addressed in more recent builds.
    So before we spend time reproducing the bug in 8.3 and determining what's involved in back-porting the fix, can you confirm whether upgrading to 10.0 is a possibility for you? We would definitely recommend this if you're doing active development, though we understand that if you're simply doing maintenance on an older, already in production application, migrating to the most recent library version isn't always straightforward.

    Thanks
    Isomorphic Software

    Comment

    Working...
    X