Any text is permitted unless a validate
function is supplied.
Text input control.
string
when getData
or setData
is
called on the container, the value at 'id'
refers to this
selector. The HTML id is set to 'param-' + id
.
toolkit.HTMLContainerElement
[optional] Where to put the control.
object
Optional mapping: translations.id
is the name of the control to be displayed and translations.help
is help text to be displayed if the user hovers over the label
string
Optional initial value for the control
function
Optional function to be called whenever the
input value changes
function
Optional function returning true
if passed a value that this control should accept or false
otherwise.