You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR with configuration autocomplete_add_contact: true && xhr_user_search_url . When I try to add a contact in my chat using the autocomplete config, suggestions that matches with the query introduced are showed, so my endpoint works (also without the autocomplete, contact matched is added, if only one matches). The problem come when I select one of the suggestions that matches in the suggestion-box, in that moment I have the next error and can´t fill the input w that value:
Uncaught TypeError: Cannot read properties of undefined (reading 'value')
at AutoComplete.insertValue (converse.js:51317:1)
at AutoComplete.select (converse.js:51372:1)
at AutoComplete.onMouseDown (converse.js:51397:1)
I think that with the last version of converse, this bug will be fixed, but can´t change mi version because of incompatibility with my Angular version. I´m now comparing converse.js file in the last version with mine, but autocomplete functions are so similar, I can´t see where the error is. My petition is to know exactly what I must change to fix it, if it is fixed.
I attach a screenshot:
Environment :
Desktop
Browser Chroome or Edge
Converse.js version 10.0.0
The text was updated successfully, but these errors were encountered:
sergiogonzalez2
changed the title
Error using with suggestion-box using autocomplete_add_contact: true && xhr_user_search_url
Error with suggestion-box using autocomplete_add_contact: true && xhr_user_search_url
Nov 23, 2023
ERROR with configuration autocomplete_add_contact: true && xhr_user_search_url . When I try to add a contact in my chat using the autocomplete config, suggestions that matches with the query introduced are showed, so my endpoint works (also without the autocomplete, contact matched is added, if only one matches). The problem come when I select one of the suggestions that matches in the suggestion-box, in that moment I have the next error and can´t fill the input w that value:
Uncaught TypeError: Cannot read properties of undefined (reading 'value')
at AutoComplete.insertValue (converse.js:51317:1)
at AutoComplete.select (converse.js:51372:1)
at AutoComplete.onMouseDown (converse.js:51397:1)
I think that with the last version of converse, this bug will be fixed, but can´t change mi version because of incompatibility with my Angular version. I´m now comparing converse.js file in the last version with mine, but autocomplete functions are so similar, I can´t see where the error is. My petition is to know exactly what I must change to fix it, if it is fixed.
I attach a screenshot:
Environment :
The text was updated successfully, but these errors were encountered: