# Custom AutoSuggestTextBox

**URL:** <https://forum.bpmn.io/t/custom-autosuggesttextbox/6343>\
**Category:** Developers\
**Created:** [June 8, 2021, 5:46pm UTC](https://forum.bpmn.io/t/custom-autosuggesttextbox/6343 "2021-06-08T17:46:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![justcoding](https://forum.bpmn.io/letter_avatar_proxy/v4/letter/j/b4bc9f/32.png) [@justcoding](https://forum.bpmn.io/u/justcoding)\
**Post date:** [June 8, 2021, 5:46pm UTC](https://forum.bpmn.io/t/custom-autosuggesttextbox/6343/1 "2021-06-08T17:46:38Z")

</div>

Hi, I have a working autosuggesttextbox for camunda properties panel candidate groups. However I would like to group my list into users/groups/affilitates. I assume to do this I would need a custom autosuggest? Or would i need a custom EntryFactory to call the customAutoSuggest?

The code I am currently using to do the autosuggest:

```auto
		entries.splice(
			index,
			1,
			entryFactory.autoSuggest(this.translate, {
				canSuggest: () => true,
				id: 'candidateGroups',
				label: this.translate('Select a USER'),
				modelProperty: 'candidateGroups',

				getItems: () => this.selectOptions.map(o => o.name)
			})
			);

```

Like, where entryFactory is can i just inject a component? I was unable to do so so far.

---

<div class="post-metadata">

**Author:** ![Niklas\_Kiefer](https://forum.bpmn.io/user_avatar/forum.bpmn.io/niklas_kiefer/32/3882_2.png) [@Niklas\_Kiefer](https://forum.bpmn.io/u/Niklas_Kiefer)\
**Post date:** [June 9, 2021, 11:50am UTC](https://forum.bpmn.io/t/custom-autosuggesttextbox/6343/2 "2021-06-09T11:50:54Z")

</div>

> [@justcoding](#):
>
> I assume to do this I would need a custom autosuggest

That’s true. The current autosuggest entry factory is rather basic. Anything beyond you would have to build / extend on your own.

Also the entry factories are not injectable at the moment.

---

<div class="post-metadata">

**Author:** ![nikku](https://forum.bpmn.io/user_avatar/forum.bpmn.io/nikku/32/5130_2.png) [@nikku](https://forum.bpmn.io/u/nikku)\
**Post date:** [July 22, 2025, 3:38pm UTC](https://forum.bpmn.io/t/custom-autosuggesttextbox/6343/3 "2025-07-22T15:38:24Z")

</div>

Closed on July 22, 2025, 3:38pm UTC


