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

Select plugin placeholder not cleared when default values loaded #265

Closed
alisamar opened this issue Feb 5, 2024 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@alisamar
Copy link
Contributor

alisamar commented Feb 5, 2024

Description:
Currently, there is an issue with the Select plugin where the placeholder is not being cleared when default values are loaded. This behavior can be confusing for users as it may appear that the placeholder text is still present even after selecting default values.

Steps to Reproduce:

  1. Initialize the Advanced Select component with a placeholder.
  2. Set default values programmatically.
  3. Notice that the placeholder text remains visible even after default values are loaded.

Expected Behavior:
The placeholder text should be cleared once default values are loaded, allowing users to clearly see the selected options without any confusion.

Actual Behavior:
The placeholder text persists even after default values are loaded, leading to potential confusion for users.

Environment:

  • Preline Select plugin version: 2.0.3
  • Browser: Chromium: 121.0.6167.139
  • Operating System: OSX 11.7.9

Screenshots:

screenshot_2245

@olegpix
Copy link
Collaborator

olegpix commented Feb 28, 2024

Description: Currently, there is an issue with the Select plugin where the placeholder is not being cleared when default values are loaded. This behavior can be confusing for users as it may appear that the placeholder text is still present even after selecting default values.

Steps to Reproduce:

  1. Initialize the Advanced Select component with a placeholder.
  2. Set default values programmatically.
  3. Notice that the placeholder text remains visible even after default values are loaded.

Expected Behavior: The placeholder text should be cleared once default values are loaded, allowing users to clearly see the selected options without any confusion.

Actual Behavior: The placeholder text persists even after default values are loaded, leading to potential confusion for users.

Environment:

  • Preline Select plugin version: 2.0.3
  • Browser: Chromium: 121.0.6167.139
  • Operating System: OSX 11.7.9

Screenshots:

screenshot_2245

Hi! This issue will be solved in the next update.

@jahaganiev jahaganiev added the bug Something isn't working label Feb 28, 2024
jahaganiev added a commit that referenced this issue Apr 3, 2024
fix: #265 select plugin placeholder not cleared when default values l…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants