Steps to reproduce

- I installed search_api_decoupled to my existing Drupal 10 site using composer
- added composer-merge-plugin and installed the libraries
- status report displays green
- added the demo block (Search API Endpoint: Demo) for all pages

-> result: the block is displayed, but the HTML markup is encoded (see attached screenshot)

CommentFileSizeAuthor
#2 decoupled2.GIF118.56 KBducdebreme
decoupled.GIF44.81 KBducdebreme

Comments

ducdebreme created an issue. See original summary.

ducdebreme’s picture

StatusFileSize
new118.56 KB

Same behavior also on fresh clean site install (see screenshot decoupled2.gif)

Drupal version 10.2.2

client libs used:

"search-api-decoupled/client": "1.1.2",
"search-api-decoupled/ui": "1.0.5"

a.dmitriiev’s picture

This issue was caused by recently introduced custom_element setting, that client expects to be not empty. I am looking into this now. Thank you for reporting.

  • a.dmitriiev committed c4d84d7a on 1.x
    Issue #3418256: Search api demo block only displays encoded markup
    
a.dmitriiev’s picture

Status: Active » Fixed

Try new version of the module https://www.drupal.org/project/search_api_decoupled/releases/1.0.0-alpha19 . This should be fixed now.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.