Feature Request:Autocomplete for Textarea element

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
User avatar
MrD2018
Apollo supporter
Apollo supporter
Posts: 42
Joined: 2018-07-03, 15:32
Location: United Kingdom

Feature Request:Autocomplete for Textarea element

Post by MrD2018 » 2024-10-15, 19:59

I was wondering if it would be possible to implement the Autocomplete attribute for Textarea elements? I understand that most of the time you would not really want a significant bit of text to be remembered but it is sometimes useful. Also, I have seen several instances where a Textarea element was used for inputting a short piece of text where an Input element might have been more appropriate, which does use autocomplete. This feature does not appear to work on any of the main browsers.

Enobarbous
Moon lover
Moon lover
Posts: 93
Joined: 2022-12-06, 17:44

Re: Feature Request:Autocomplete for Textarea element

Post by Enobarbous » 2024-10-17, 08:37

If I understand correctly what you want, the old Textarea Cache add-on does this. Version 0.9.3.4 works quite well for me on current PM
I am sorry for the use of auto-translator to post

User avatar
MrD2018
Apollo supporter
Apollo supporter
Posts: 42
Joined: 2018-07-03, 15:32
Location: United Kingdom

Re: Feature Request:Autocomplete for Textarea element

Post by MrD2018 » 2024-10-19, 20:35

That is an interesting add-on but what I was looking for was a drop down list of suggestions which would appear automatically when typing into a Textarea, the same way as an Input element works.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 38378
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Feature Request:Autocomplete for Textarea element

Post by Moonchild » 2024-10-19, 21:49

MrD2018 wrote:
2024-10-19, 20:35
That is an interesting add-on but what I was looking for was a drop down list of suggestions which would appear automatically when typing into a Textarea, the same way as an Input element works.
That's not feasible to implement, because a text area is multi-line, has often large amounts of data, and can't be displayed as a drop-down in any reasonable way. On top, it would seriously bloat the form history database, cause unwanted retention of large amounts of data, and would negatively impact performance in a major way.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
MrD2018
Apollo supporter
Apollo supporter
Posts: 42
Joined: 2018-07-03, 15:32
Location: United Kingdom

Re: Feature Request:Autocomplete for Textarea element

Post by MrD2018 » 2024-10-24, 22:36

No problem, thanks for letting me know.