Problem/Motivation
I'm using Version 2.2.0 and would like to use this within a webform, because it says on the module page: "Since 2.2.0, this module supports Webform via a submodule." The submodule is installed, but I only ever get the fallback string value, even when one of the fields is not empty and should get returned. As there is next to none documentation as to how this is supposed to work, I hope it's OK to clarify this via an issue.
Steps to reproduce
1. Webform with 3 fields on different Pages (so the submission token are generated): field_a_source_entity_ref, field_b_source_textfield, field_c_target_token_or
2. Set default value in field_c_target_token_or to [webform_submission:values:field_a_source_entity_ref|webform_submission:values:field_b_source_textfield|"fallback string"]
3. Select an entity to populate field_a or fill out field_b
4. None of the token is replaced, there is always the fallback string in field_c (or nothing, if I omit the fallback string)
Bonus: I also tried to use the token_or-token in
https://www.drupal.org/project/webform_content_creator β
just to make sure that the webform is submitted and all the submission token should be created. There is no token replacement done whatsoever, I get the cleartext token as result.
So is this supposed to work within a webform, and if so, what am I missing?