I'm using list variables to filter my report and I choosed keys and labels from datasource as is shown below.

In most cases,it works fine.However,data root_addons.name may sometimes be [].In designer,there's no error,but when using in js,after i click submit,I got cannot read properties of null.

Template and json are here
https://webcc-pro.obs.cn-east-3.myhuawe ... %8D%95.mrt
https://webcc-pro.obs.cn-east-3.myhuawe ... 8D%95.json
Could you please tell me how to avoid this
Thank you.