ProcessMaker / vue-form-elements

Reusable VueJS Based Form Elements
25 stars 12 forks source link

Add missing reactivity for Radio/Checkbox options #358

Closed caleeli closed 1 year ago

caleeli commented 1 year ago

Issue & Reproduction Steps

Select List of type Radio (and also Checkbox) does not refresh its options after a watcher execution.

Expected behavior: After the watcher load the values for the select list options, these options should be updated in the select list control.

Actual behavior: Select List of type Radio (and also Checkbox) does not refresh its options after a watcher execution.

Solution

How to Test

  1. Import the screen attached in the ticket
  2. Setup the required collection and data source
  3. Update the screen watcher to point the prepared data source in step 2
  4. Preview the screen
  5. Enable the checkbox to trigger the watcher

Related Tickets & Packages

Code Review Checklist