When I'm using the Select List widget, the views list works as expected, but when I enable the URL widget, the select list now contains a lot of HTML-code. This is the display in the select list, when the view is set to only show the username non-linked:
<span class="views-field views-field-name"> <span class="field-content"> [username] </span></span>
If I disable the URL-widget, only the Username is displayed in the select list, as expected.
Of course, this is the fallback-method if the author clicks create node and then selects user, and the normal behaviour is to create the node from a user-related link (the field is prepopulated).
Related issue #1861590: References node views fallback select list widget shows views html in options
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1860696-1.patch | 945 bytes | jibran |
Comments
Comment #1
jibranThis will fix the problem.
Comment #1.0
jibranadded
tagComment #2
eminencehealthcare commentedPatch works great. You saved me from having to use entity reference prepopulate (I already have data in the database would have been a pain to switch). Thank you!
Comment #3
jibranCommitted and Pushed to latest dev 578763b. Thanks for the testing.
Comment #4.0
(not verified) commentedAdded related issue