Skip to content

showEmptyMessage not working on Autocomplete #8564

@xiscohv

Description

@xiscohv

Describe the bug

The showEmptyMessage property in the Autocomplete component isn’t working as expected. Even though I’ve set :showEmptyMessage="false", the “No result” message still appears.

Pull Request Link

No response

Reason for not contributing a PR

  • Lack of time
  • Unsure how to implement the fix/feature
  • Difficulty understanding the codebase
  • Other

Other Reason

No response

Reproducer

https://stackblitz.com/edit/xgtcxr8q?file=src%2FApp.vue

Environment

Production

Vue version

x.x.x

PrimeVue version

4.5.5

Node version

No response

Browser(s)

No response

Steps to reproduce the behavior

Type "ase" in the autocomplete.
"No results found" appear

Expected behavior

Type "ase" in the autocomplete.
Nothing appears.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: Needs TriageIssue will be reviewed by Core Team and a relevant label will be added as soon as possible

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions