input
{
title = "Field Label", -- Display label for the field
type = "input", -- Field type (input, number, select, checkbox, etc.)
description = "Field description", -- Help text for the field
placeholder = "Enter text...", -- Placeholder text
options = { -- Options for select type
{value = 'option1', label = 'Option 1'},
{value = 'option2', label = 'Option 2'}
},
required = true, -- Whether field is required
min = 1, -- Minimum value (for number type)
max = 100 -- Maximum value (for number type)
}Input Field Types
text/input
number
select
checkbox
textarea
Last updated