Skip to content

LimitedTextInput :function

function LimitedTextInput(Scope: Scope): (props: LimitedTextInputProperties) -> Frame
Initializes the component and returns a new function to create that component, which is a TextInput, but contains properties for limiting the length of input to the TextBox.

Default Syntax

local LimitedTextInputComponent = require(StudioComponents.LimitedTextInput)
local LimitedTextInput = LimitedTextInputComponent(Scope)

Shorthand

local LimitedTextInput = require(StudioComponents.LimitedTextInput)(Scope)

Parameters

Scope: Scope The Scope the component will be initialized in.

Returns Function

Parameters

props: LimitedTextInputProperties The table which contains the properties of the component that will be created.

Returns

TextBox