Closed (cannot reproduce)
Project:
Webform
Version:
6.3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
15 Nov 2024 at 21:03 UTC
Updated:
22 Sep 2025 at 20:20 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
matask commentedI am uploading the proposed solution with item-element-is-not-displayed.patch.
In the
WebformElement/Item.phpclass, thebuildHtmlmethod is rewritten to remove#states:Comment #3
matask commentedComment #4
cilefen commentedPlease submit this as a merge request so the bots can test it. Even though #3481554: Make tests pass exists we need to know if there are new failures. This itself may need some regression tests added.
Comment #5
liam morlandComment #6
matask commentedUpon further review and thorough testing, the
item-element-is-not-displayed.patchmentioned in comment #2 does not resolve the issue.Comment #7
jrockowitz commentedComment #8
jrockowitz commentedWhether the item has #states does not impact whether an item is visible on view.
You need to explicitly state the item should be visible when viewed via
Comment #9
matask commentedThank you for your suggestion to use
#display_on: both. However, the issue still persists. Despite setting all Item elements with#display_on: both, they are not displayed in the preview pane.I have double-checked the configuration to ensure that the
#display_onproperty is correctly set for all Item elements. I've also attached the test form's configuration and screenshots illustrating the problem.Could you please advise on any additional steps I might need to take to resolve this issue?
Thank you for your assistance.
Comment #10
matask commentedComment #11
jrockowitz commentedI am not able to replicate this issue using the attached webform based on #9.
Comment #12
jrockowitz commentedPlease reopen if you can provide an example webform similar to #11 that can reproduce this issue.
Comment #13
jrockowitz commented