code: function (config) {
  			
  			var nbChoices, position = -1;
  			
  			nbChoices = this.choicesList.length;
  			
  			// Handle position
  			if (lang.isNumber(config.position) && config.position >= 0 && config.position < nbChoices) {
  				
  				position = parseInt(config.position, 10);
  				
  			} else if (!lang.isUndefined(config.value)) {
  				
  				// get position of choice with value === config.value
  				position = inputEx.indexOf(config.value, this.choicesList, function (value, opt) {
  					return opt.value === value;
  				});
  				
  			} else if (lang.isString(config.label)) {
  				
  				// get position of choice with label === config.label
  				position = inputEx.indexOf(config.label, this.choicesList, function (label, opt) {
  					return opt.label === label;
  				});
  				
  			}
  			
  			return position;
  		}
docs: Get the position of a choice in choicesList (NOT in the DOM)
  @param {Object} config An object targeting the choice (e.g. { position : 1 } || { value: 'second' } || { label: 'Second' })