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

Empty value when using conditional select #337

Open
AndreeaCristinaRadacina opened this issue Aug 22, 2024 · 1 comment
Open

Empty value when using conditional select #337

AndreeaCristinaRadacina opened this issue Aug 22, 2024 · 1 comment
Labels
bug This label could be used to identify issues that are caused by a defect in the product. customer report Indicates the request came from a customer. small (1-3h) This label is used for issues that can be completed within 3 hours or less.

Comments

@AndreeaCristinaRadacina

Description

A user reported that the select field doesn't display values, even if a default value is set.

This issue occurs when displaying select field conditionally.

Step-by-step reproduction instructions

  1. Go to PPOM fields and create a new group
  2. Add a select field (select 1) with options 1, 2, 3
  3. Add a new select field (select 2) with options 1.1, 2.1, and 3.1 and use the condition to display it if Select 1 is 2, as below:
image 4. Add one more select field (select 3) with options 1.1, 1.2, and 1.3 without conditions 5. Attach the group to a product and check what happens when Select 1 is 2

Screenshots, screen recording, code snippet or Help Scout ticket

image

ref:
https://wordpress.org/support/topic/problem-with-a-selector/#post-17968999

Environment info

No response

Is the issue you are reporting a regression

No

@AndreeaCristinaRadacina AndreeaCristinaRadacina added the bug This label could be used to identify issues that are caused by a defect in the product. label Aug 22, 2024
@pirate-bot pirate-bot added the customer report Indicates the request came from a customer. label Aug 22, 2024
@Soare-Robert-Daniel Soare-Robert-Daniel added the small (1-3h) This label is used for issues that can be completed within 3 hours or less. label Aug 23, 2024
@Soare-Robert-Daniel
Copy link
Contributor

The HTML structure is present, but the select does not show the first option as the default option:
Screenshot 2024-08-23 at 09 56 41

@selul selul added this to the v33.0.0 milestone Sep 3, 2024
@selul selul removed this from the v33.0.0 milestone Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This label could be used to identify issues that are caused by a defect in the product. customer report Indicates the request came from a customer. small (1-3h) This label is used for issues that can be completed within 3 hours or less.
Projects
None yet
Development

No branches or pull requests

4 participants