Page 1 of 1

Implement textfield icon picker

Posted: Sat Mar 06, 2021 4:48 pm
by Xiomax
Hi,

I would like to use the "choose_chat_icon_button" in my mod.
See image of what I mean
Image
Image

Is there any chance of this being exposed through the API?

Thanks in advance!

Re: Implement textfield icon picker

Posted: Sat Mar 06, 2021 4:51 pm
by LuziferSenpai
For the devs, it would mean just adding the "all" option to the choose-elem element.

Re: Implement textfield icon picker

Posted: Sat Mar 06, 2021 5:42 pm
by Klonan
LuziferSenpai wrote:
Sat Mar 06, 2021 4:51 pm
For the devs, it would mean just adding the "all" option to the choose-elem element.
No it wouldn't,

If we implement this it would be properly, as in, you just set a bool on the textfield that adds the rich text picker, and then it automatically adds it to the textfield and handles everything

Re: Implement textfield icon picker

Posted: Sat Mar 06, 2021 8:30 pm
by LuziferSenpai
Klonan wrote:
Sat Mar 06, 2021 5:42 pm
LuziferSenpai wrote:
Sat Mar 06, 2021 4:51 pm
For the devs, it would mean just adding the "all" option to the choose-elem element.
No it wouldn't,

If we implement this it would be properly, as in, you just set a bool on the textfield that adds the rich text picker, and then it automatically adds it to the textfield and handles everything
But I would love to have the option in the choose-elem, so we can select them outside of a textfield too.

Re: Implement textfield icon picker

Posted: Sun May 01, 2022 2:14 pm
by Xorimuth
+1 this would be handy basically anywhere a mod asks for a user-defined name for something.

Re: Implement textfield icon picker

Posted: Thu Apr 27, 2023 2:48 pm
by Therenas
This will be added with 1.2.