cancel
Showing results for 
Search instead for 
Did you mean: 

Directory suggestions by "contains" instead "start with"

Paul_Smith
Champ on-the-rise
Champ on-the-rise

Hi! I created a custom search form with a search term by directory (vocabulary). I used "nuxeo-directory-suggestion"

The component "nuxeo-directory-suggestion" allow filter options by text, and it show options that starts with the text that user input.

I would like to show also options that contains the text like component "nuxeo-user-suggestion" do it.

Is there any way to change the directory suggestions behaviour?
/> Can I use other component to do this?
/> Thanks.

1 ACCEPTED ANSWER

Gregory_Carlin
Elite Collaborator
Elite Collaborator

Hello!

Passing:

params='{"contains":true}'

to the nuxeo-directory-suggestion element should make the Directory.SuggestEntries operation use a fulltext search.

View answer in original post

2 REPLIES 2

Gregory_Carlin
Elite Collaborator
Elite Collaborator

Hello!

Passing:

params='{"contains":true}'

to the nuxeo-directory-suggestion element should make the Directory.SuggestEntries operation use a fulltext search.

Paul_Smith
Champ on-the-rise
Champ on-the-rise

Hi Gregory! Perfect!! It works!! Thanks!!

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.