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
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);
}
})