how to custom zd-autocomplete-header

1 Comments

  • Remi
    Zendesk Customer Care

    Good day Iuliia Saunova,

    Thank you for your post, hope you are fine!

    Unfortunately, there is no inbuilt method to change this string and this isn't supported, You would need to do DOM manipulation / custom code to achieve this.

    Something like below : 

    The only challenge will be that as the "zd-autocomplete" HTML element isn't mounted on page but only when "Article Results" are rendered, hence, the challenge for now is that the QuerySelector isn't defined when using the script.

    You will have to find a way to listen to this element mounting and trigger the function containing the script once the latter is mounted in the DOM.

    We cannot really assist further than this, I'm afraid.

    Hope this helps!

    Best regards,

    0

Please sign in to leave a comment.

Powered by Zendesk