+ 1

How to add suggestions in textarea(<textarea></textarea>).

21st Aug 2020, 10:31 AM
Pro Programmer
Pro Programmer - avatar
9 Respostas
+ 2
i think jquery has suggestion that works with textarea, wait let me confirm it yes there is. its inside JqueryUi called autocomplete, looks pretty easy to implement
21st Aug 2020, 4:08 PM
Rei
Rei - avatar
+ 3
like a datalist ? but for textarea ?
21st Aug 2020, 10:37 AM
Rei
Rei - avatar
+ 1
😒
21st Aug 2020, 12:43 PM
Pro Programmer
Pro Programmer - avatar
+ 1
???
21st Aug 2020, 12:43 PM
Pro Programmer
Pro Programmer - avatar
+ 1
Textarea provides user multiple line text input field . Coder can only help user using placeholder . Or you can use a contenteditable div for your desired result with some compromise.
21st Aug 2020, 2:52 PM
Divya Mohan
Divya Mohan - avatar
+ 1
So how to add suggestions in a contenteditabke div?
21st Aug 2020, 3:59 PM
Pro Programmer
Pro Programmer - avatar
0
Contentaditable*
21st Aug 2020, 3:59 PM
Pro Programmer
Pro Programmer - avatar
0
<div contenteditable="true"> add your suggestion here </div> User can write in this div by clicking in this div.
21st Aug 2020, 4:03 PM
Divya Mohan
Divya Mohan - avatar
0
I think it's also a feature in bootstrap 5
21st Aug 2020, 4:12 PM
Divya Mohan
Divya Mohan - avatar