Closed (fixed)
Project:
Webform IBAN field
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
14 Oct 2020 at 13:44 UTC
Updated:
12 Dec 2021 at 08:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
rik_deuzeman commentedComment #3
rik_deuzeman commentedComment #4
rik_deuzeman commentedComment #5
joshahubbers commentedHello Rik,
Thank you for your patch. I will start a new version (2.x) with the new version numbering system. And add your patch to that version.
Comment #7
joshahubbers commentedComment #8
joshahubbers commentedHello Rik
new rc has been made. Maybe you can verify it's correct working also? I tested it in a clean install and got no problems...
Comment #9
rik_deuzeman commentedHi Josha,
I have now used the 2.0.0-rc1 branch and it looks good! Thanks.
Comment #10
rik_deuzeman commentedJosha,
One thing though, I don't know if it must be changed in the element class, but if you use IBAN in a composite element, the IBAN element doesn't get the '#webform_multiple' settings (only the #webform_composite_ settings). Now it will fail because of a notice (undefined index #webform_multiple). It can be fixed by adding the setting in prepare of the composite element, but it can also be fixed by checking the existence of this setting ($multiple = $element['#webform_multiple'] ?? FALSE).
Comment #11
rik_deuzeman commentedHmm.. it seems I can't fix it in the composite element. I have added a patch with an extra check on the #webform_multiple key.
Comment #13
joshahubbers commentedThanx again Rik! Ik applied the patch, and created a new release: 2.0.0-rc2.
Comment #14
joshahubbers commented