View Full Version : ComboBox / LovCombo not taking the values I am assigning

1 Nov 2017, 7:53 PM
Hey Guys,

I'm pretty new to the ExtJS framework so be kind :)

I'm working with a legacy codebase, being ExtJS 3.3.0 and I have written some PHP to load 'data' into my LovCombo

$testInput = [
["\/Screen Shot 2017-10-09 at 7.08.52 pm-1.png","Screen Shot 2017-10-09 at 7.08.52 pm-1.png","true"],
["\/floor",".. floor","false"],
["\/floor\/moretesting",".. .. moretesting","false"],
["\/floor\/moretesting\/Webserver_requests_graph.jpg",".. .. .. Webserver_requests_graph.jpg","true"]

var pathStore = new Ext.data.SimpleStore({
{ name: 'pathID', type: 'string' },
{ name: 'pathValue', type: 'string' },
{ name: 'leaf', type: 'string'},
data: <?php echo $testInput; ?>

As it stands, it puts the 'pathValue' correctly into the combo, but I can only select the first checkbox inside the list, all the others wont allow me to check them.

It's something to do with the json im sending to it, but i cant figure it out.

Any help would be greatly appreciated.