Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AutoComplete: Empty Message never displayed #3669

Closed
ig-onoffice-de opened this issue Feb 22, 2023 · 1 comment · Fixed by #3866
Closed

AutoComplete: Empty Message never displayed #3669

ig-onoffice-de opened this issue Feb 22, 2023 · 1 comment · Fixed by #3866
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone

Comments

@ig-onoffice-de
Copy link
Contributor

Describe the bug

I wanted to use the empty message property to tell the user about possible reasons why he was not able to find what he was looking for.
But unfortunately, the empty Message is never displayed. I hoped for it to appear in the dropdown window if it does not contain any options.
But the actual behaviour is:

  1. If I just type anything invalid the drop down just closes
  2. If I type anything invalid and open the dropdown by click it does not open at all.

Reproducer

https://codesandbox.io/s/condescending-voice-lyxcw1?file=/src/App.vue

PrimeVue version

3.20.0

Vue version

3.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

  1. Enter the Autocomplete
  2. Type e.g. ff
  3. See how the Overlay disappears can not be opened

Expected behavior

The overlay opens although there is no suggestion and shows the emptyMessage String.

@ig-onoffice-de ig-onoffice-de added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Feb 22, 2023
@tugcekucukoglu tugcekucukoglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Feb 27, 2023
@tugcekucukoglu tugcekucukoglu added this to the 3.x milestone Mar 20, 2023
@proalaa
Copy link

proalaa commented Jul 19, 2023

Hi is there any update or workaround for this

@mertsincan mertsincan modified the milestones: 3.x, 3.33.1 Sep 5, 2023
@mertsincan mertsincan added Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add and removed Type: Bug Issue contains a bug related to a specific component. Something about the component is not working labels Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
None yet
4 participants