Skip to main content

TextInput

For letting the user input text.

Types

TextInputProps

interface TextInputProps {
...BaseProps
DisabledFusion.UsedAs<boolean>?
CharacterLimitFusion.UsedAs<number>?
ColorFusion.UsedAs<Color3>?
PlaceholderTextFusion.UsedAs<string>?
TextFusion.UsedAs<string>?
ClearTextOnFocusFusion.UsedAs<boolean>?
TextWrappedFusion.UsedAs<boolean>?
TextEditableFusion.UsedAs<boolean>?
MultiLineFusion.UsedAs<boolean>?
TextSizeFusion.UsedAs<number>?
TextColor3Fusion.UsedAs<Color3>?
FontFaceFusion.UsedAs<Font>?
PlaceholderColor3Fusion.UsedAs<Color3>?
TextXAlignmentFusion.UsedAs<Enum.TextXAlignment>?
TextYAlignmentFusion.UsedAs<Enum.TextYAlignment>?
TextTransparencyFusion.UsedAs<number>?
TextProcessorFusion.UsedAs<(string) → string>?
IsFocusedFusion.UsedAs<boolean>?
OnFocusedFusion.UsedAs<() → ()>?
OnFocusLostFusion.UsedAs<() → ()>?
}
Show raw api
{
    "functions": [],
    "properties": [],
    "types": [
        {
            "name": "TextInputProps",
            "desc": "",
            "fields": [
                {
                    "name": "...",
                    "lua_type": "BaseProps",
                    "desc": ""
                },
                {
                    "name": "Disabled",
                    "lua_type": "Fusion.UsedAs<boolean>?",
                    "desc": ""
                },
                {
                    "name": "CharacterLimit",
                    "lua_type": "Fusion.UsedAs<number>?",
                    "desc": ""
                },
                {
                    "name": "Color",
                    "lua_type": "Fusion.UsedAs<Color3>?",
                    "desc": ""
                },
                {
                    "name": "PlaceholderText",
                    "lua_type": "Fusion.UsedAs<string>?",
                    "desc": ""
                },
                {
                    "name": "Text",
                    "lua_type": "Fusion.UsedAs<string>?",
                    "desc": ""
                },
                {
                    "name": "ClearTextOnFocus",
                    "lua_type": "Fusion.UsedAs<boolean>?",
                    "desc": ""
                },
                {
                    "name": "TextWrapped",
                    "lua_type": "Fusion.UsedAs<boolean>?",
                    "desc": ""
                },
                {
                    "name": "TextEditable",
                    "lua_type": "Fusion.UsedAs<boolean>?",
                    "desc": ""
                },
                {
                    "name": "MultiLine",
                    "lua_type": "Fusion.UsedAs<boolean>?",
                    "desc": ""
                },
                {
                    "name": "TextSize",
                    "lua_type": "Fusion.UsedAs<number>?",
                    "desc": ""
                },
                {
                    "name": "TextColor3",
                    "lua_type": "Fusion.UsedAs<Color3>?",
                    "desc": ""
                },
                {
                    "name": "FontFace",
                    "lua_type": "Fusion.UsedAs<Font>?",
                    "desc": ""
                },
                {
                    "name": "PlaceholderColor3",
                    "lua_type": "Fusion.UsedAs<Color3>?",
                    "desc": ""
                },
                {
                    "name": "TextXAlignment",
                    "lua_type": "Fusion.UsedAs<Enum.TextXAlignment>?",
                    "desc": ""
                },
                {
                    "name": "TextYAlignment",
                    "lua_type": "Fusion.UsedAs<Enum.TextYAlignment>?",
                    "desc": ""
                },
                {
                    "name": "TextTransparency",
                    "lua_type": "Fusion.UsedAs<number>?",
                    "desc": ""
                },
                {
                    "name": "TextProcessor",
                    "lua_type": "Fusion.UsedAs<(string) -> string>?",
                    "desc": ""
                },
                {
                    "name": "IsFocused",
                    "lua_type": "Fusion.UsedAs<boolean>?",
                    "desc": ""
                },
                {
                    "name": "OnFocused",
                    "lua_type": "Fusion.UsedAs<() -> ()>?",
                    "desc": ""
                },
                {
                    "name": "OnFocusLost",
                    "lua_type": "Fusion.UsedAs<() -> ()>?",
                    "desc": ""
                }
            ],
            "source": {
                "line": 49,
                "path": "src/Components/TextInput.luau"
            }
        }
    ],
    "name": "TextInput",
    "desc": "For letting the user input text.",
    "source": {
        "line": 6,
        "path": "src/Components/TextInput.luau"
    }
}