editable attribute

Type:boolean
Inherited:no
Used By:input
Default:false
See:lines

This attribute turns a standard drop-down list form field, as created when type="select", into a "combo box" - it allows the user to type the value into the field as well as select it from a list. The entered value may not be one of the specified options.

This field is ignored if the lines attribute is greater than one.

This creates a "combo box" form field

<p>Select your country from the list or type it into the box</p>
<input type="select" name="country" editable="true">
  <option>USA</option>
  <option>Germany</option>
  <option>UK</option>
  <option>France</option>
  <option>Canada</option>
</input>