HI, I'm trying to add a static option to my dynamic select box but it just shows the SQL in the list, not the results of the query..
Query in static option:
SELECT title AS text,id AS value FROM #__categories WHERE id = '2'
The output in the select box is:
SELECT title AS text,id AS value FROM #__categories WHERE id
I should mention I am using chosen.js on this selectbox. But I would have thought the text and value would already have been populated by the time the select box is rendered no?