1
0
-1

hi, im using popup select to retrieve searched value. i cant use multi select(select2) component because of very long list of selection. problem here when using popup select, it's return no value. try to test selected value using jquery, null value returned. i'm also did test using multiselect, the value (id) is returned. 


<script>
$(document).ready(function(){
var select = FormUtil.getField("numFilePicker");


$(select).on("change", function(){
var value = FormUtil.getValue("popupSelectBox");
alert("selected value : " + value);
});
});
</script>
    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Hi, I tried FormUtil.getValue("popupSelectBox") directly and it does return the value of a Popup Select Box. Perhaps at the time of calling, the value is indeed null? So you may want to check the sequence of your code to make sure that it is calling at the appropriate time.


        CommentAdd your comment...