checkboxGroup onChange

Hi Fellas

I am not sure what is wrong with my code, can someone help me?

$w(‘#checkboxGroup2’).onChange((event, $w) => {
let newValue = event.target.value;
console.log(newValue);
if (newValue === “Room”) {
$w(‘#input1’).enable();
$w(‘#dropdown1’).show();
}
});

I am able to get value with console, but it does not do the “if conditions”.

Thanks,

1 Like

Is this solved?