EditBox for numbers?
Hi there,
is there a way to enable an editbox only for numbers? I cant find a lot about "textType". My sources: https://wiki.esoui.com/UI_XML#EditBox Thanks! |
ive done it with lua tonumber() and checked if the result is number :)
|
Use the forum search please:
https://www.esoui.com/forums/showthr...T_TYPE_NUMERIC Another source would be e.g. LibAddonMenu-2.0 -> controls -> edit widget There is a setting to enable only numeric and I think it's a standard ZOs part of the editbox. Code:
textType = TEXT_TYPE_NUMERIC https://wiki.esoui.com/APIVersion#live_API_version -> Link "API TXT Documentation:" If you search within the ESOUI source code then for the texttype constants you will find examples in ZOS code. https://github.com/esoui/esoui/blob/...ialog.lua#L615 btw: Instead of creating forum threads for such simple questions join us here: https://gitter.im/esoui/esoui |
Hi there,
I did search the forum and the wiki and did not find anything specific about the texttype. The according page in the wiki "EditBox" "textType" did not exist. The forum posting about editbox are useless and in parts wrong. I created the posting for other people to find better results with the same question. There are so many locations to search for everything and find nothing. I allways do this for some hours and after this i create a posting. btw. joined gitter, thx for hint |
Quote:
https://www.esoui.com/forums/showpos...86&postcount=3 I do not see any wrong information here :p And to ease the searches I have provided you the gitter chat, just come there and ask and we are glad to help. btw: You are also able to change the wiki so add the info as example at the right to the tutorials or the howtos. I've prepared a new entry for you, feel free to add the editbox XML stuff you found out that works etc. https://wiki.esoui.com/How_to_use_ed...ric_input_only Thanks |
Quote:
i am at gitter now |
All times are GMT -6. The time now is 11:52 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI