Hi ! I’m facing quite an odd issue. The .disable function on a text input doesn’t seem to work.
I’ve tried to manually disable it, and add a bit of code that would enable it, and it worked. So why doesn’t the other way around work ?
Does not work:
if ($w('#radioGroup1').value === "Code Promo"){
$w("#input4").value = "";
$w("#input3").value = "";
$w("#input3").disable();
}
works (text input manually disabled beforehand)
if ($w('#radioGroup1').value === "Code Promo"){
$w("#input4").value = "";
$w("#input3").value = "";
$w("#input3").enable();
}