Option schema items are not showing up on simple list widget

chrisrutherford
Tera Contributor

I am working on a simple list widget.  

I created a new instance.   Within this instance I had noticed that several option schema parameters were not available on my form.

After reading the forums and searching through the form designer I was unable to find said variables (secondary_fields being one of them for example) and ultimately used JSON to update the parameter.

However, I became concerned about this because I may need to add additional custom parameters in to a widget I create and can't access the value (unless via JSON I think).

Has anyone else experienced this problem?   I am on Istanbul.   I can provide screenshots if that helps but not sure if it really will.   Seems to be a setting somewhere or missing something obvious.

Thx in advance

Chris

1 ACCEPTED SOLUTION

krushikesh
Kilo Guru

Hi there,



I think you are trying to add options in simple list instance which were you created. and it does not allow you to create or access.


So, what you need to do is you need to make clone of that simple list widget and add your customization into that like instance options and then you can use them and in that situation you didn't need to pass value via JSON you can pass value directly to options and access it in widget via using c.options.option_name or in server script options.option_name.



Widget instance options


you can also check below



Secondary fields is missing in simple list widget



Hope it will be helpful to you


Have a great day


View solution in original post

2 REPLIES 2

krushikesh
Kilo Guru

Hi there,



I think you are trying to add options in simple list instance which were you created. and it does not allow you to create or access.


So, what you need to do is you need to make clone of that simple list widget and add your customization into that like instance options and then you can use them and in that situation you didn't need to pass value via JSON you can pass value directly to options and access it in widget via using c.options.option_name or in server script options.option_name.



Widget instance options


you can also check below



Secondary fields is missing in simple list widget



Hope it will be helpful to you


Have a great day


Thanks!