Widget Error

Hello All, i am building a pluggable widget and while using the datasource type which retrieves data from the DB, everything works fine but i get the below error and i cant seem to find the docuemtnation for it.   DEPRECATED: direct usage of List attribute "29.MyFirstModule.Home_Web_2.dropdwn1//cityName" as a function, use .get() instead -- will be removed in version: 10.0   Let me know if anyone has any idea.
1 answers

I stumbled on this too and found that the listvalue object has the property or function get which can be called by passing the attribute name.

for e.g.: this is what i did: Assuming there is a cityName property key of type=”attribute” for the data source from which you want to pull the data.


Hope it helps.