Situation:
Field in a content type
- with basic information: node reference / multiselect
- and within "Global settings", "Content types that can be referenced:", "Advanced - Nodes that can be referenced (View)", "View used to select the nodes": a view that gives back the "node: title" of the found out records (but same failure with each other field).

Failure:
Editing existing content of the content type mentioned above results in displaying
<span class="views-field-title"> <span
in each field with the type multiselect at the right below "selected options".

The source code of the webpage containing the failure is this one:

<select name="field_projekt_traeger[nid][]" multiple="multiple"  class="form-select field_projekt_traeger_sel multiselect_sel" id="field_projekt_traeger" id="edit-field-projekt-traeger-nid"  size="10">
	<option value="710" selected="selected">  
		&lt;span class=&quot;views-field-title&quot;&gt;
                &lt;span class=&quot;field-content&quot;&gt;Projektträger XYZ&lt;/span&gt;
		&lt;/span&gt;
	</option>
</select>

Taking the source code, changing &lt; and &gt; into < and > and displaying it in a webbrowser seems to work correct.

Please correct if possible because I don't know how to work around... Thank you!

CommentFileSizeAuthor
#1 multiselect.diff296 bytesfastangel

Comments

fastangel’s picture

StatusFileSize
new296 bytes

Hi,

with the following diff to fix the problem you have.

attheshow’s picture

Status: Active » Closed (duplicate)

Duplicate of #276091: Shows HTML code in selected items list when using a view to select nodes. Please use the current dev branch for the moment if you have this issue with 6.x-1.5.