Skip to content

[search] change the default message if not result found #1721

Discussion options

You must be logged in to vote

Yes, you can override the texts

$('#mysearchbox').search({
  error: {
    noResults: 'Nothing to see here, go ahead', // was "Your search returned no results" before
    noResultsHeader: 'Hey, what did you do???', // was "No Results" before
  }
})

See
https://fomantic-ui.com/modules/search.html#/settings

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by lubber-de
Comment options

You must be logged in to vote
1 reply
@foutesting
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment