-
I have a problem using TomSelect. I use select data update via API, get data but it is not displayed, because it is try to search keyword which not exist. I need to search word (exact equal word) and word* (like). At backend i was created API endpoint which send correct values, however it not displayed *reason. ` new TomSelect('#tom-select-it',{ var url = '/display/group/?search=' + encodeURIComponent(query); },` I console panel i receive response. Did not understand what i missing...... |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Your configuration has |
Beta Was this translation helpful? Give feedback.
-
@oyejorge Thanks for findin mistake however it not solve problem when i type 0101* (response from backend data successtully received no problem at backend but not displayed because as i correct understand filtered second time byTomSelect.... |
Beta Was this translation helpful? Give feedback.
-
Solved: example typing in search 01* in front-end added another search field - search field at back-end - when receive 01* (LIKE request) added to matched results field search with value "01*" but if i search directly 01 in matched results search added title |
Beta Was this translation helpful? Give feedback.
Solved: example typing in search 01*
in front-end added another search field - search field
new TomSelect('#tom-select-it',{ valueField: 'value', labelField: 'title', searchField: 'search',
at back-end - when receive 01* (LIKE request) added to matched results field search with value "01*" but if i search directly 01 in matched results search added title