Forms: variations with radio option field have empty default values #41500
Labels
[Block] Contact Form
Form block (also see Contact Form label)
[Feature] Forms Blocks
Blocks designed to streamline user input and engagement, such as contact, newsletter sign-ups, etc.
[Package] Forms
[Pri] Normal
[Status] Auto-allocated
[Status] In Progress
Triaged
[Type] Bug
When a feature is broken and / or not performing as intended
Reported in #41245 (comment)
In several variations (RSVP, feedback, appointment) there are radio fileds. When using these patterns, those fields are empty even if in code we have the example values defined.
Variations can be added via placeholder block, or via sidebar:
Current code:
jetpack/projects/packages/forms/src/blocks/contact-form/variations.js
Lines 192 to 199 in 161a699
jetpack/projects/packages/forms/src/contact-form/class-util.php
Line 114 in 161a699
Result currently
With code:
Expected result
With code:
The text was updated successfully, but these errors were encountered: