dialog.dialog.input
Declaration
lua
dialog.input(title [, msg [, default]])
Description
Show text input dialog.
Parameters
`title` (string)
`msg` (string, optional)
`default` (string, optional) — default value
Return Values
`string` or `nil` (cancelled)
Example
lua
local name = dialog.input("Enter Name", "Your name:", "John")