Conversation
|
Thanks for this @ekes ! And thanks for approving @sgroi-l @MattOz-CDS . I'm not totally sure how to test this. By 'composite' do we mean using this project? https://www.drupal.org/project/webform_composite I'd like to be able to reproduce the error and see it go away with this change. |
|
@finnlewis - that's correct. that module allows you to create a resuable composite like an About you composite, which you can then drop in to any of your forms. Create them here: admin/structure/webform/config/composite It then gives the validation error @ekes mentioned in #124 I'm testing this too now. |
finnlewis
left a comment
There was a problem hiding this comment.
I see!
Confirmed that a LocalGov Forms Date field in a Webform Composite thing does not validate the date when submitting the form.
Checking out this branch and the LocalGov Forms Date field does validate.
:)
|
I'd say that's a good number of approvals! Thanks folks :) |
|
Discussing at Merge Tuesday. In the move to drupal.org, we've tagged a new release on Drupal.org for https://www.drupal.org/project/localgov_forms/releases/1.1.0-beta11 So:
We want to avoid any further merges / releases on github if we can. |
|
Merge request on drupal.org https://git.drupalcode.org/project/localgov_forms/-/merge_requests/2 |
|
This has been merged on druapl.org https://git.drupalcode.org/project/localgov_forms/-/merge_requests/2 Closing here. |
The suggestion from #124 overriding the preValidateDate to make workaround from parent to put datetime object into the form state input.