Wijmo UI for the Web
Important Attributes
Wijmo User Guide > Widgets > Textbox > TextBox Concepts > Important Attributes

These are the most important attributes when you use the Input object with the type specified as 'text' or 'password.'

disabled

Causes the textbox to appear in a disabled state. This state is marked by muted coloring and by no response to clicking.

Markup
Copy Code
<input id="textbox" type="text" disabled/>

maxLength

Sets the number of characters the user can enter in the textbox. Additional characters are ignored.

Markup
Copy Code
<input id="textbox" type="password" maxlength=7/> 

readOnly

Allows the textbox to display text, but does not allow editing by the user.

Markup
Copy Code
<input id="textbox" type="text" readonly/> 

size

Sets the width of the textbox in characters.

Default Value: 20

Markup
Copy Code
<input id="textbox" type="password" size=40/> 

type

Set to "text" to display the textbox input widget, or to "password" to hide text input.

Markup
Copy Code
<label><input type="password" id="textbox"/>
See Also

Reference

Concepts

KO