issue-11915 Check for Array  + Check if value is array to fix error when multiple mode is changing
issue-11915 Check for Array
 + Check if value is array to fix error when multiple mode is changing

primefaces/primeng,primefaces/primeng,primefaces/primeng,primefaces/primeng