diegojmap Posted July 20, 2020 Share Posted July 20, 2020 Is it possible to use auto complete with TagField? 1 Quote Link to comment Share on other sites More sharing options...
diegojmap Posted July 29, 2020 Author Share Posted July 29, 2020 Is there a solution? I am using a third party component and wanted to remove it from my application. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 29, 2020 Share Posted July 29, 2020 1 hour ago, diegojmap said: Is there a solution? I am using a third party component and wanted to remove it from my application. Hello, Sorry for the late response. We need to check. 1 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 29, 2020 Share Posted July 29, 2020 For starters, try this approach: You will use the spacebar to autocomplete. UniTagField.ClientEvents.UniEvents -> function beforeInit(sender, config) { config.collapseOnSelect=true; sender._val=""; } UniTagField.ClientEvents.ExtEvents -> function keypress(sender, e, eOpts) { if (e.event.key == " ") { if (sender._val != "") { var selValId = sender.store.findRecord("val", sender._val); if (selValId) { var selValues = sender.getValue(); selValues.push(selValId.id); sender._val = ""; sender.setValue(selValues); sender.blur(); sender.focus(); } } } if (e.event.key != " ") { sender._val += e.event.key; } } Quote Link to comment Share on other sites More sharing options...
skafy Posted October 3, 2022 Share Posted October 3, 2022 Hi, This don't seems to work anymore. Any other suggestion? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 3, 2022 Share Posted October 3, 2022 Hello, I will try to check. Quote Link to comment Share on other sites More sharing options...
skafy Posted October 4, 2022 Share Posted October 4, 2022 Ok. Please let me know if you find anything. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.