Help | autocomplete dropdown in BootBox
Solved
General Discussion
-
Hi there
How to create autocomplete of the usernames in bootbox?This is my code:
bootbox.prompt({ title: '[[flags:start-new-chat]]<i class="fa fa-comments-o" style="margin: 0 7px;"></i>', placeholder: '[[user:username]]', backdrop: true, callback: (res) => { if (res != null) { $.getJSON(`/api/user/${res.slice(1)}`, (data) => { app.newChat(data.uid) }) } } })
It is possible?
Thank you! -
I saw that there was it in MANAGE > Privileges > User Privileges > ADD USER
What's the code?
Copyright © 2024 NodeBB | Contributors