Topic on Extension talk:Semantic Forms Select

With the "label" option, the value returned to the template is not the correct one.

1
Megajoule (talkcontribs)

The value returned by the SF_Select field is not that of the property entered in the query (?Has Name) but the page that contains it. This is not what we expect, is it? To correct this, you have to modify res/scriptSelect.js (line 99) :

                element.options[i] = new Option(namevalues[i][1], namevalues[i][1]);
                if (jQuery.inArray(namevalues[i][0], selectedValues) != -1) {
                    element.options[i].selected = true;
                    newselected.push(namevalues[i][1]);
                }
Reply to "With the "label" option, the value returned to the template is not the correct one."