Closed (fixed)
Project:
Webform
Version:
8.x-5.0-rc18
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Aug 2018 at 20:47 UTC
Updated:
3 Jun 2020 at 12:38 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jrockowitz commentedThe attached webform replicates this issue.
Comment #3
jrockowitz commentedGreat catch!!!
The issue is that the #default_value is being stored as a string and not an associative array.
Comment #5
jrockowitz commentedI committed the patch. Please download the latest dev release to review.
Comment #7
Mile3 commentedDefaults don't seem to be working for Advanced Address. I've tried with the Set Defaults option, but no dice.
Comment #8
jrockowitz commentedI am not able to replicate any issues with the address element's default values. @see attached webform
Comment #9
weseze commentedAny progress on this? Tested with 5.15 and it is still an issue.
How can I help fix this?
Comment #10
jrockowitz commentedAre you able to replicate this issue using the example webform from #8? If not, can you please provide an example webform.
Comment #11
weseze commentedI think the issue might be that I assumed it would work with tokens instead of fixed values.
I tried:
But that dit not populate the field with my user data.
And also tried
But that fails to save correctly.
Comment #12
jrockowitz commentedWhat error message is displayed?
Comment #13
weseze commentedHmmm, no idea what I'm doing different, but it seems to work just fine now...