Closed ksstms closed 2 weeks ago
hey @ksstms, by default handlebars will be returning "true"
or "false"
as strings rather than boolean type.
If you try {{ literal form.Fields.cb2 }}
it might return the boolean type instead.
Thank you @andz-bb. For the record, the same solution applies to the relationship picker as well
Checklist
Hosting
Describe the bug I'm using the "Update Field Value" action to copy the state of one checkbox to another. The second checkbox always gets checked no matter the state of the first one. This is only a problem using the handlebar notation, JS works fine. The same is true for relationship pickers.
To Reproduce Steps to reproduce the behavior:
Expected behavior Clicking the button should change the second checkbox state to the first one's state.
Desktop (please complete the following information):