Can you use the getValue(index) method or use the getAllSelectedValues() and return the first one (that's what getValue does anyway if it's multiple).