I was able to fix this issue by adding the public path in the uploadZipConfigFiles function.
Ozle → changed the visibility of the branch 3283247-error-uploading-config to hidden.
I fixed this issue modifying only the $states variable to
const $states = once('states', '[data-drupal-states]', context);
Hi @paul_leclerc,
This is a data type issue, you can solve it adding the filter number_format in every variable.
{% set charges = data.charges|number_format + (data.demi_charges|number_format / 2) %}
i updated the yml applying this filter and its working.
Hi @thecooltechguy,
I was able to replicate this problem and found that if you enable Ajax on your web form it works correctly:
without Ajax:
Using Ajax:
I tested this on
Chrome 116.0.5845.96 (Official Build) (arm64)
Firefox 115.0.2
Safari 16.2 (18614.3.7.1.5)
but couldn't replicate it.
Hey @maxime-adagp,
Seems more like a problem with drupal.state library, in some cases the values of empty states appear as null and not booleans, so I created a patch from webform v6.1.x to make sure that the expected value is returned.
Hi tybroadway, i was trying to replicate this problem using versions 6.1x and 6.2.x but couldn't do it, I wonder if you missed any steps.
This was an example following your steps and its working:
https://www.drupal.org/files/issues/2023-08-20/Screenshot%202023-08-20%2... →
Hi, I noticed that it was saving the correct values to the database but it wasn't rendering correctly in the web form results, so I modified the validation to get the current user values only with logged user submissions.
Moving this task to review.
Hi, I hope this is useful to you,
I reproduced the issue and tried with your patch and it works, I added a different approach to pass the unit tests.