Hi:
I have my doubt with checkbox,the implementation principle of it differed from the radio component.From your samples,the checkbox value is setted by true or false,It can’t pass other values.
Below is radio’s code
{ view:“radio”, name:“field_i”, id:‘field_i’, height:80,click:“log”, labelWidth: 250, labelAlign: “left”,value:“2”, options:[
{ label:“only direct flights”, value: “1” },
{ label:“any flights”, value: “2” },
] }
Below is checkbox’s code
{ view:“checkbox”, name: “field_j”, id:‘field_j’, click:“log”, label:“find hotels”, position:“label-left”,labelWidth: 100, value: 1}
I want pass ‘p001’ value ,such as product code, how can i solve it.
thanks