- Issue created by @coaston
- πΈπ°Slovakia coaston
I found similiar issue for select 2 module here : 3144800 π Autocomplete Results from Entity Reference View contains HTML tags and the selection shows only the entity label. Needs work and also resolved one here : 3217934 π Remove escaped HTML Tags from Reference View Closed: works as designed so I hope it helps to determine and fix issue here.
Can someone have a look and try to provide similiar patch here?
- πΈπ°Slovakia coaston
As stated comment-14893725 π Remove escaped HTML Tags from Reference View Closed: works as designed there is a workaround which it seems it works with select2 module, but here I can reduce from :
<span class="views-field views-field-field-custom-name"><span class="field-content">Fantisek Coaston</span></span>
to:
<span>Frantisek Dely</span>
So not sure whyt it still gives this span....
Attached pictues for reference.... - Status changed to Needs review
over 1 year ago 10:30am 17 September 2023 - πΈπ°Slovakia coaston
Ok it seems I resolved it.
Both "Customize field HTML" and "Customize field and label wrapper HTML" have to be changed to "none". As shown on attached picture.Now it works for me without any patch.
- π¬π§United Kingdom John Cook
@coaston, thanks for finding the workaround (and the bug in the first place).
The bug is with how the module is dealing with the autocomplete data. Iβll need to some some more testing to find a fix, so leaving open for now.
- @john-cook opened merge request.
- Status changed to Fixed
over 1 year ago 4:33pm 20 September 2023 Automatically closed - issue fixed for 2 weeks with no activity.