SearchBuilder Button Text reverts back to default after click

SearchBuilder Button Text reverts back to default after click

ClarityAndrewClarityAndrew Posts: 1Questions: 1Answers: 0

I changed the SearchBuilder Button text to say "Custom Search" but when the user clicks the button the button text reverts back to "Search Builder".

https://live.datatables.net/bowumibu/1/edit

Answers

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin

    What to do is use language.searchBuilder.button to control that string - example here.

    The reason for that is that SearchBuilder will set the string for the button in its initialisation, which allows for language information to be Ajax loaded in.

    Allan

Sign In or Register to comment.