PIXEL UI
ValidatedTextEntry

PIXEL.ValidatedTextEntry

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:SetValue( string )

Sets the text entry value.

string PANEL:GetValue()

Gets the text entry value.

PANEL:SetPlaceholderText( string )

Sets placeholder text for the input.

string PANEL:GetPlaceholderText()

Gets placeholder text for the input.