Giving list of inputs creates error

Certified Senior Developer

Hello Guys,

I am having a code which will generate a rating icon based on the input integer. So far its working fine, When I try to make the input as a array by click on the checkbox and gave 2 more input rating there shows an error.

The first picture is the error one and the second one is the rating output when it is given a single input value, Thanks in Advance.

  Discussion posts and replies are publicly visible