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

OrderList and PickList: Getting error when empty field #4383

Closed
tbordy opened this issue Sep 4, 2023 · 0 comments
Closed

OrderList and PickList: Getting error when empty field #4383

tbordy opened this issue Sep 4, 2023 · 0 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@tbordy
Copy link

tbordy commented Sep 4, 2023

Describe the bug

Hello there is an issue with the PickList component. When you're trying to click on an empty list of the component, you get an error Uncaught TypeError: Cannot read properties of undefined (reading 'getAttribute') . It happens even with the demo code.

Reproducer

https://codesandbox.io/s/wys4q8

PrimeVue version

3.31.0

Vue version

3.x

Language

TypeScript

Build / Runtime

Vue CLI App

Browser(s)

No response

Steps to reproduce the behavior

  1. Go on the demo.
  2. Open the console
  3. Click on the empty list
  4. Read the console

Expected behavior

There should be no error.

@tbordy tbordy added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Sep 4, 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 Sep 5, 2023
@tugcekucukoglu tugcekucukoglu added this to the 3.33.1 milestone Sep 5, 2023
@tugcekucukoglu tugcekucukoglu self-assigned this Sep 5, 2023
@tugcekucukoglu tugcekucukoglu changed the title PickList: Getting error when empty field OrderList and PickList: Getting error when empty field Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants