Creates a text input field. This element must be used within CKForm or HTML form.
Required attribute: value
Attribute | Type | Description |
---|---|---|
type |
String |
Type of the text field. text is for a normal text input field, password is for a password field and hidden is for a hidden field. |
value |
String |
Value of the text field. If you set an accessor method to this element, the form data is set to a component automatically by the method. |
size |
Integer |
Size of the text field. |
maxlength |
Integer |
Max length of data for the text field. |
validate |
String |
Format string to validate input value. |
pass |
true/false |
If validating is passed, the value is true. |
enabled |
true/false |
If the value is false, the element appears but is not active. |