code: function(options) {
  		
  		var selectFieldConfig = this.generateSelectConfig(options.availableFields);
  	
  		var newOptions = {
  			fields: [
  				selectFieldConfig,
  				this.nameIndex[options.availableFields[0].name]
  			]
  		};
  		
  		YAHOO.lang.augmentObject(newOptions, options);
  		
  		inputEx.KeyValueField.superclass.setOptions.call(this, newOptions);
  	}
docs: Setup the options.fields from the availableFields option