Hi,
i have a listener up to a CQ.form.selection with two functions:
selectionchanged="function(comp, val, isChecked) {
var text = comp.nextSibling();
console.log('text '+text.getValue());
...
loadcontent="function(comp) {
var text = comp.nextSibling();
console.log('text '+text.getValue());
...
I can't understand why the variable 'text' inside the selectionchanged is correct and the other one prints inside the console an empty value
Thanks