Input Creator
input.lua
This function displays a customizable input dialog for user text or number entry. It supports both simple and complex input structures.
createInput(title, opts)
Opens a styled input dialog with configurable fields, labels, input types, and validation.
Supports multiple field types including text
, number
, password
, checkbox
, color
, slider
, and more.
Parameters:
title
(string
): Title displayed at the top of the input box.opts
(table
): A table of fields with attributes likelabel
,name
,type
,value
, and more.
Example:
Last updated