Skip to content
R41z0r edited this page Jun 13, 2026 · 3 revisions

Contents

Input controls store text or numbers.

Field Type Description
placeholder / placeholderText string Empty input hint.
numeric boolean Parse as number.
min, max number Numeric bounds.
clampToRange boolean Clamp numeric input.
maxChars number Text length cap.
readOnly boolean Prevent editing.
inputWidth number Input width.
multiline boolean Use multiline edit box.

multilineHeight is currently metadata/pass-through only and is not consumed by the UI renderer. The current multiline editor height is fixed by the runtime.

app:RegisterControl("profiles.names", {
  id = "profileName",
  key = "profileName",
  type = "input",
  label = "Profile name",
  placeholder = "Name",
  maxChars = 32,
  default = "",
})
app:RegisterControl("timers.pull", {
  id = "pullSeconds",
  key = "pullSeconds",
  type = "input",
  label = "Pull timer",
  numeric = true,
  min = 3,
  max = 60,
  clampToRange = true,
  default = 10,
})
app:RegisterControl("macros.body", {
  id = "macroBody",
  key = "macroBody",
  type = "input",
  label = "Macro body",
  multiline = true,
  inputWidth = 420,
  default = "",
})

Wiki
  • Home
  • Architecture
  • Vendoring
  • Quick Start
  • Field Glossary
  • Troubleshooting
  • Validation

Reference
  ⚬ Config API
  ⚬ UI API
  ⚬ Elements
  ⚬ Examples

Elements
  Structure
   • Category
   • Page
   • Group
   • Dashboard
   • InfoPage
   • Custom
  Controls
   • Toggle
   • CheckboxDropdown
   • Dropdown
   • MultiDropdown
   • SoundDropdown
   • Input
   • Slider
   • Button
  Advanced
   • ColorPicker
   • ColorPalette
   • ColorOverrides
   • ReorderList
   • Expandable
   • Notes

Examples
  Start
   • Minimal Addon
   • Complete Settings Center
   • Wrapper Bridge Pattern
  Data and Behavior
   • Dependent Controls
   • Nested Database Values
   • Dynamic Dropdowns
   • Runtime Refresh
   • Search and New Badges
   • Custom Hosted Editors
  Polish
   • Support Links
   • Theme Colors
   • Theme Borders

Clone this wiki locally