Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey
Filter by
Sorted by
Tagged with
0 votes
0 answers
107 views

I'm encountering a JavaScript error in my web application. I'm getting an "Uncaught TypeError: Cannot read properties of undefined (reading 'indexOf')" error on line 2 of vendor.bundle.base....
tech's user avatar
  • 11
0 votes
1 answer
53 views

The modal forms in our app all close and reload the parent form when you hit the enter key. Not really causing an issue but can get round that with the code below: $(document).ready(...
Derek Jee's user avatar
  • 155
1 vote
1 answer
140 views

I have been at this for hours, and I am sure I am making a dumb mistake. But I am at a loss... Here is what I have checked: docs: https://github.com/corejavascript/typeahead.js/blob/master/doc/...
Code2Empower's user avatar
0 votes
0 answers
54 views

I use this plugin. The HTML element is: <input class="form-control typeahead" maxlength="50" id="secondname" required="required" name="secondname" ...
Megan Clerc's user avatar
0 votes
1 answer
127 views

I am working on a project that requires to typeahead textbox when some data is inputted and the data will be fetched from a webservice using query string. I only want to show the Name, StateCode, ...
user3068888's user avatar
0 votes
1 answer
179 views

I'm using bootstrap-tagsinput v0.8.0 It mostly works, but I have trouble setting an initial value by javascript. I don't know how to call the "refresh" - method from the js file, too. I try ...
Adder's user avatar
  • 5,898
0 votes
1 answer
63 views

I have the following code from here: Simple Typeahead with Local Data List In the component template, add the following Input form field control with ngxTypeahead directives and some other required ...
Peter The Angular Dude's user avatar
0 votes
1 answer
139 views

I have a scenario where when we load the page for the first time it will have an input field along with a button to add more rows. In my case, the autocomplete works on the very first row and it is ...
Rich's user avatar
  • 195
2 votes
1 answer
907 views

I am trying to test a specific functionality that's defined inside onChange handler of AsyncTypeahead component from react-bootstrap-typeahead library. But onChange handler and selected property are ...
Ashwini's user avatar
  • 401
0 votes
1 answer
320 views

As you can see in the below screenshot whenever I click on Add Dependents it would dynamically add a table row as shown in the screenshot. Inside the screenshot you can also see that when I type A the ...
Utsav Dave's user avatar
1 vote
1 answer
78 views

Typeahead.js is not updating the search index after requesting remote data. I type a query, it fetches results, and then it always displays the first N items without respect to the query. I have used ...
user137717's user avatar
  • 2,205
1 vote
0 answers
29 views

Not able to show data for Multiple Datasets using typeahead.js in rails app typeahead.json.builder json.array!(@reports.first(5)) do |report| json.title report.title.truncate(130) end json.array!(@...
Sonalkumar sute's user avatar
1 vote
0 answers
157 views

Bloodhound's prefetch feature is working great for me, but I would like to disable my inputs while the prefetch is happening. Does anyone know of a way to detect when the prefetch is happening, do ...
Ryan.Jones's user avatar
0 votes
1 answer
1k views

Here I want to create text box, which can show a matching list of customers after 3 input letters. I have used twitter typeahead with remote plugin. Whenever I enter 3 letters, it started showing a ...
Prince Gajjar's user avatar
1 vote
0 answers
45 views

I am creating a quotation page and on this view a user can search for a suburb by its Name e.g. NAPIERVILLE; Pietermaritz and on select of the suggestion it must take NAPIERVILLE; Pietermaritz and ...
Anton Marcus's user avatar
0 votes
1 answer
665 views

I am trying to implement a tagsinput + typeahead field for a form, where the source is an array of objects stored in a javascript binding. The value I want to store in the form is the id, but I want ...
Rafael Leite's user avatar
0 votes
1 answer
602 views

Bloodhound variable for Typeahead that's working nicely: var egDjangoVar = new Bloodhound({ queryTokenizer: Bloodhound.tokenizers.whitespace, datumTokenizer: Bloodhound.tokenizers.obj.whitespace('...
Chris Dixon's user avatar
  • 1,148
1 vote
1 answer
164 views

I'm trying to replicate functionality of this Typeahead remote example, but I can't figure out how to supply the data in the way Typeahead / Bloodhound wants it, nor what datumTokenizer or ...
Chris Dixon's user avatar
  • 1,148
0 votes
2 answers
294 views

I've implemented Typeahead with Bloodhound to get remote JSON data and it works but when I delete what is in input and type something else the same results come up. I check the network in chrome dev ...
user892134's user avatar
  • 3,244
0 votes
1 answer
373 views

I am using twitter typeahead library to implement searching functionality. I found the approach of sending POST request through ajax in typeahead. Problem is: It is firing requests for every word I ...
ritik_051299's user avatar
3 votes
2 answers
2k views

I want to implement an autocomplete field in my navigation bar. var substringMatcher = function(strs) { console.log('strs', strs); return function findMatches(q, cb) { console.log('q', q); ...
Carol.Kar's user avatar
  • 5,271
2 votes
0 answers
689 views

I'm using typeahead.js's Bloodhound for search. I download all the data once and store it locally, initializing search engine with local property equal to that data. Then, the entries from the data ...
Olga Zhukova's user avatar
1 vote
1 answer
117 views

I am trying to implement typeahead.js for my application. I followed through with some of the following examples stackoverflow and Twitter typeahead official doc. I created a Django Rest API which ...
phagyrhe's user avatar
  • 197
1 vote
0 answers
38 views

I am having typeahead jquery plugin to show suggestion items from the server powered by Elasticsearch. Everything works fine except when the server response back to the autocompletion request from the ...
channa ly's user avatar
  • 10k
0 votes
1 answer
304 views

I'm using Twitter typeahead create a suggestion engine for some input boxes on a form. Everything works fine for inputs that are generated when the page is loaded. But if I want to dynamically add new ...
Francois Gosselin's user avatar
0 votes
1 answer
245 views

After jquery upgrade 3.5.1 -> 3.6.0 the error occurs: TypeError: $(…).typeahead is not a function ... at HTMLDocument.dispatch (jquery.js:5430) at HTMLDocument.elemData.handle (jquery....
s0rin's user avatar
  • 156
0 votes
1 answer
863 views

So I'm using react-bootstrap-typeahead and it's working completely fine when I'm typing something in the search box. It gives me the relevant options when I type something in the search box like this: ...
ShridharK's user avatar
  • 385
2 votes
0 answers
310 views

I have a dropdown with suggestions, i have used typeahead (jquery.typeahead.js) for suggestions. when i start typing in the input box it shows me a list of suggestions,when i press TAB i want to focus ...
Dileep's user avatar
  • 515
3 votes
0 answers
381 views

I'm trying to install typeahead.js to my rails 6 app via webpacker but I'm getting this error in the web browser console: .typeahead is not a function This is what I did: yarn add typeahead.js ...
Dev's user avatar
  • 477
2 votes
2 answers
321 views

I built an autocompleted using jquery typeahead because it has tons of options and most of them meets my requirements. But instead of its default option, I want to add some help text at the bottom of ...
Houy Narun's user avatar
  • 1,735
0 votes
1 answer
72 views

First of all, it's a newbie question :) Sorry for bothering you... I've managed to get data from Firebase Firestore, and put that data in a variable. var db = firebase.firestore(); let contentJSON = ...
batuhanbilginn's user avatar
2 votes
0 answers
177 views

I am updating a product that utilizes Bootstrap Tags Input with typeahead to work better with keyboard input. One of the issues, which you can see if you look at the tags input typeahead or later ...
Ben Holness's user avatar
  • 2,745
1 vote
0 answers
143 views

Wondering if anyone has this experience with typeahead.js and bloodhound (from this repo). When I get bloodhound suggestions from an AJAX request, the total number of results available are read to the ...
Mike D's user avatar
  • 31
1 vote
0 answers
494 views

Im using typeahead.js to search live data from database but I don't know where is the problem? I tried to pass a second variable inside typeahead function but it seems I failed making it work. Any ...
Anas Amine's user avatar
1 vote
0 answers
248 views

I have two input fields and I want to use the same typeahead code in both the input control. The only difference is that the suggestion should come below that specific control. $('input.typeahead')....
user2993735's user avatar
1 vote
1 answer
2k views

I'm using the BlazorTypeahead component in my project. I would like to set focus on the typeahead textbox, but can't seem to figure out how to do it. Here's my page. The search and value changed ...
Mark's user avatar
  • 1,537
0 votes
0 answers
77 views

I would like to add the custom event in the empty function from empty results. Here is an example code. ,templates: {empty: 'No results' + '<a data-bind="click: event">Go</a>', ...
siuri's user avatar
  • 191
1 vote
1 answer
962 views

I am trying to make typeahead for the input box. I'm using typeahead.js for that. I'm using the same code to learn this functionality. Though I'm not getting any error, it is not showing suggestions. ...
shivank01's user avatar
  • 1,065
0 votes
1 answer
368 views

I am implementing a tags input using typeahead/bloodhound. Users are able to add new tags, they are not constrained to the ones that already exist. I would like to always show what the user is typing ...
Ben Holness's user avatar
  • 2,745
0 votes
0 answers
91 views

I am using Yii2 and trying to install AdminLTE with the following command; composer require dmstr/yii2-adminlte-asset "^2.1" but I keep on getting this error [Composer\Repository\...
Phemelo Khetho's user avatar
0 votes
1 answer
270 views

I'm using the Twitter typeahead.js library for typeahead search with a single data source /api/domains. I'd now like to add two more sources using other API endpoints: /api/ips /api/hostnames How ...
steelcityamir's user avatar
0 votes
0 answers
203 views

I'm using PostgreSQL 12.3 with Django 3.0.8. I'm trying to implement a typeahead functionality. I tried using Trigram similarity, but that didn't work too well since, if I were to have a text saying &...
acw's user avatar
  • 998
0 votes
1 answer
617 views

trying to implement the typeahead search in nodejs with mysql, but can't figure out what's wrong in my code. When manually going to http://localhost:5000/search?key=s for example, I can see the ...
Morgan Senechal's user avatar
0 votes
1 answer
821 views

I'm using the react-bootstrap-typeahead component and I'm having trouble figuring out what's causing the component from loosing the tab function to select autocomplete. If I use onInputChange, tab to ...
bp123's user avatar
  • 3,437
1 vote
0 answers
90 views

I've been working on this solution for a few days now and get seem to get it working. I'm able to query the results and post to the server which all is working fine and passing value. I'm pulling ...
Steve R's user avatar
  • 11
0 votes
1 answer
620 views

Searchkick - Autocomplete with multiple models & fields I am struggling to implement the autocomplete functionality for multiple models associated to my Post model. The search functionality works ...
Gabriel GUERIN's user avatar
0 votes
1 answer
420 views

I'm using the most basic implementation of the JQuery Typeahead functionality and I cannot get it to work on my ASP.NET Core app. Code inspection reveals no errors and everything looks like is should ...
Val's user avatar
  • 99
0 votes
0 answers
65 views

I have a table where there are inputs with typeahead on each row. The row has an id and I'd like to pass this to the typeahead function. <table> ... <tr data-id="1"><td><input ...
ekenman's user avatar
  • 995
2 votes
1 answer
435 views

I am trying to load Bloodhound and typeahead.query.js in webpacker of Ruby. I got Bloodhound working in the environment.rb file and I got rid of that error. But typeahead is still not working getting ...
soniccool's user avatar
  • 6,078
0 votes
1 answer
88 views

I use toastr for the notifications of my form. I always receive the error message and yet the data is saved in the database. I think that the error comes from the controller because I do not send back ...
Cedric H's user avatar

1
2 3 4 5
26