Hi.
I'm trying to make an application with some modules by using the InputEx FormContainer in wireIt.
With other types, the 'fields' are translated to 'values' in the jsob-file when saved. However, when using the FormContainer, the 'values' are not added to the json file.
(Not sure if this is a inputEx or WireIt issue, btw. )
Any help would be appreciated.
- Alex
Example inputEx json :
{
"name": "RegExp",
"container": {
"xtype":"WireIt.FormContainer",
"className": "WireIt-Container RegExp",
"icon": "../../images/icons/tag.png",
"fields": [
{"type": "combine", "inputParams":
{"fields":[
{ "type": "string", "inputParams": { "name": "item", "typeInvite": "item", "size": "8"} },
{ "type": "string", "inputParams": { "name": "regexp", "typeInvite": "regexp", "size": "8"} },
{ "type": "string", "inputParams": { "name": "replacement", "typeInvite": "replacement", "size": "8"} }
],
"separators": ["in "," replace "," with ", false]
}
},
{"type": "list", "inputParams":
{ "wirable": false, "elementType": { "type":"combine","inputParams":
{"fields":[
{ "type": "string", "inputParams": { "name": "item", "typeInvite": "item", "size": "8"} },
{ "type": "string", "inputParams": { "name": "regexp", "typeInvite": "regexp", "size": "8"} },
{ "type": "string", "inputParams": { "name": "replacement", "typeInvite": "replacement", "size": "8"} }
],
"separators": ["in "," replace "," with ", false]
}
}
}
}
],
"terminals": [
{ "name": "SOURCES", "direction": [0,-1], "offsetPosition": {"left": 100, "top": -15 },"nMaxWires": 1},
{ "name": "FOLLOWUPS", "direction": [0,1] , "offsetPosition": {"left": 100, "bottom": -15}}
]
}
}