Closed (fixed)
Project:
Webform
Version:
8.x-5.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Mar 2017 at 16:28 UTC
Updated:
12 Apr 2017 at 12:35 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jrockowitz commentedI can't duplicate this issue. Attached is the test form I created attempting to duplicate the problem.
Comment #3
stella commentedHmmm odd, I can't reproduce it with your form either... i'll see if i can figure it out
Comment #4
stella commentedOk as best as I can figure out, it happens when it is a required field and it appears on a step other than the first step in a multistep form. Form config attached (I love CMI!)
Comment #5
jrockowitz commentedI am crossing my fingers, that the attached patch will solve the problem.
Comment #7
jrockowitz commentedComment #8
jrockowitz commented@stella please review and confirm that this patch works. Thanks.
Comment #9
prashant.c@stella
PFA I could not reproduce the issue with textfield for multiple values.
Can you please list down the steps to re-generate this issue ?
Comment #10
jrockowitz commented@Prashant.c The form from #4 reproduces the issue.
The issue is that a required multiple value element within a multistep form is not maintaining its #default_value correctly.
Comment #11
stella commented@jrockowitz yep! that works perfectly, thanks!
Comment #13
jrockowitz commented