Replace the Placeholder "Search" in the Search Bar

Add this code to the Custom JS field on the Settings tab of your FAQ widget’s settings:

const interval = setInterval(() => {
  const input = document.querySelector('.eapps-faq-search-bar-input');
  if (input) {
    input.placeholder = "YOUR OWN TEXT";
    clearInterval(interval);
  }
}, 300);
3 Likes