formio.js icon indicating copy to clipboard operation
formio.js copied to clipboard

[BUG] Logic Tab : When the trigger type is event, cannot set property "hidden" in the Action

Open Vedhachala opened this issue 6 years ago • 2 comments

Environment

Please provide as many details as you can:

  • Hosting type
    • [x] Form.io
    • [ ] Local deployment
      • Version:
  • Formio.js version: latest
  • Frontend framework: Angular
  • Browser: Chrome
  • Browser version:

Steps to Reproduce

  1. Configure a textfield's logic tab to trigger on an event and set the hidden property of the textfield to true
  2. Add a button to trigger the event
  3. Click the button

Expected behavior

Textfield to hide

Observed behavior

Textfield does not hide

Example

event_hidden_bug

Note: You can see in the gif that the same thing work when the trigger type is a simple component's value This is an important defect for us as a majority of our form actions are event triggered.

Vedhachala avatar Mar 19 '20 08:03 Vedhachala

@Vedhachala Thank you for the report. We were able to replicate this issue on our end as well and have created a ticket in our 4x branch. We will review this item during our planning meeting next week. Please note, we welcome pull requests in this library. If you need this item expedited, please feel free to contact [email protected] for pricing.

jeriah-formio avatar Mar 19 '20 15:03 jeriah-formio

Closing this thread as it is outdated. Please re-open if it is still relevant. Thank you for your contribution!

VikkiAlenn avatar Jan 31 '24 14:01 VikkiAlenn