Generic autocomplete form type for resources Customer

Hi,
I need to create a Generic autocomplete form for (List of customer )

how can i proceed ?