[search] change the default message if not result found #1721
Answered
by
lubber-de
foutesting
asked this question in
Modules (Modal, Dropdown, Popup, Calendar, Toast, ...)
-
Hi, Is there a way to change these messages using a method ? Thank |
Beta Was this translation helpful? Give feedback.
Answered by
lubber-de
Oct 20, 2020
Replies: 2 comments 1 reply
-
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
}
}) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lubber-de
-
I did a test. Nothing changes. Always the same default messages |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, you can override the texts
See
https://fomantic-ui.com/modules/search.html#/settings