mo.ui.text
Create a text input field for user input.Signature
Parameters
str
default:"''"
Initial text value
str
default:"''"
Placeholder text shown when empty
'text' | 'password' | 'email' | 'url'
default:"'text'"
Type of input field
int
Maximum number of characters allowed
bool
default:"False"
Whether the input is disabled
bool | int
default:"True"
Debounce input updates (True for default delay, or specify milliseconds)
str
default:"''"
Markdown label for the input
bool
default:"False"
Whether input takes full width
Examples
By default, text inputs are debounced to avoid excessive updates while typing.