Skip to content

SuggestField doesn't show empty SuggestModel #23

@radekcz

Description

@radekcz

When we use SuggestField with overriden method:

private void serverFilterProcess(ServerFilterTriggerEvent serverFilterTriggerEvent) {
...
suggestField.setSuggestModel(prepareModel(inputData));
...
}

with set model over "setSuggestModel()" everything works fine. But if input text is not correct for suggestions and we want show empty suggestions (new SuggestModel(new SuggestItem[0])), last suggestions are still displayed (empty is expected?). This is not right behavior, is it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions