I came upon this error when developing an application. I was using a foreach loop to dynamically create a select list. It so happened that I was not looping on the result without point to value in it.
So instead of just using @y i had to use @y.name in the select option
No comments:
Post a Comment