View Single Post
07/13/21, 01:38 AM   #3
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
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
TextTypes can be found in the ESOUIDocumentation_Pxx.txt file at teh API versions:
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

Last edited by Baertram : 07/13/21 at 01:42 AM.
  Reply With Quote