I am trying to create a user input that opens depending upon the dropdown option selected above it. I have gone through the forums and used the code and the user inputs are opening up depending on the dropdown correctly but I am unable to give any input to those fields as it is greyed out.
The permission for my database is Write Only and the field is not set to Read Only so that is not the reason for it. This is the code I used for the onchange event :
The 2 user input fields are set to collapsed on load.
export function selection_onChange(event) {
//Add your code for this event here:
if ($w(“#selection”).value === “1”) {
$w(‘#member1’).expand();
} else if ($w(“#selection”).value === “2”) {
$w(‘#member1’).expand();
$w(‘#member2’).expand();
}
So on clicking 2 these 2 user input fields are opening up but I am unable to input anything in them. Can anyone tell me what might be the issue?