I need to alter the SearchPane placeholder text, and am doing it like this based on a forum post I found:
initComplete: function () {
// Loop through SearchPane inputs to adjust placeholder text to remove HTML.
$('.dtsp-searchPane').find('input').each(function( index ) {
var placeholder = $( this ).attr('placeholder');
$( this ).attr('placeholder', placeholder.replace('<br>',' ').replace('\n',' '))
});
}
It works great.
Would be a nice feature option to be able to specify to remove any formatting and only show the text.