I'm new to PrimeFaces and I was playing around a little bit with the auto completion control. Everything works fine (using JSF 2.0, if this matters) except one thing: I want the auto suggestion result list to be formatted in a certain way but want another formatting to be used in the actual input box when the user clicks the item.
Take this example:
![Image](http://openfaces.org/images/components/intro_screenshots/SuggestionField.png)
I tried to use the "itemLabel" attribute to format the suggestion list which works but when the user clicks on the item the whole HTML code is placed in the input field. However, I only want the name of the item ("Gardening" in the example above) to be transferred to the input control.
Is there any way to achieve this with the autocompletion control?
Thanks & Regards
Sebastian