Skip to main content

Input

Input renders a single-line text input. It sends a payload with value = string to Lua whenever the value changes.

API

Props

The renderer uses defaultValue, so keep reactive state in Lua as the source of truth and update it from onChange.