Forum Discussion

kmmy's avatar
kmmy
Frequent Visitor
3 years ago

conditional column icon custom

hello,

I want to add conditional column icon.

 

so I try to add theme code, but it doesn't work.

Error Code > #/icons must be array (type; matching schema #/properties/icons/type)

 

I attach my code.

 

 

{
     "name": "Percent Icons",
     "icons": {

         "complete100": {
               "url": "data&colon;image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='50' cy='50' r='50' fill='#008A00' /> </svg>",
               "description": "100% Complete"
         }
     }
}

 

 please help me.....

 

Thank you

2 Replies