How to set add-on option by using an array?

Mian Shahid

Well-known member
Hi, I am trying to create an add-on with option of Enable/Disable along with NOD id's where it will act.

Everything looks like fine for me, but when i am saving options after putting nod id's, after ticking "Enable" box, it not saving anything and showing blank again.

I set this in optins

then fill as below

after saving, it showing blank

Any help from experts?