PIXEL.ValidatedTextEntry
- Base panel:
Panel(opens in a new tab) - Source: cl_validated_text_entry.lua (opens in a new tab)
- Description: PIXEL text entry with validation message.
Methods
The following methods are available on the PIXEL.ValidatedTextEntry panel:
boolean, string PANEL:IsTextValid( string )Validates the current text value.
PANEL:OnValidate( boolean, string )Callback fired after validation.
PANEL:SetPlaceholderText( string )Sets placeholder text for the input.
string PANEL:GetPlaceholderText()Gets placeholder text for the input.