Hello,
visibility config is working fine with my textBoxes
**********************************
this.textBox = new TextBox({
label: "label",
fieldId : "textBoxId",
visibilityConfig: {
initialValue: false,
rules: [
{
targetId: "statutId",
is: ["Rejeté Illisible"]
}
]
}
});
********************************
But it's not working with my alfButton
*****************************************
var btnIllisible = new AlfButton({
visibilityConfig: {
rules: [
{
targetId: "statutId",
is: ["En cours", "Rejeté Inexploitable" ],
}
]
},
label: "label",
onClick: lang.hitch(this, '_onIllisible'),
});
********************************************
Do the alfButtons use different mechanics ?