Replies: 1 comment
-
|
I assume OP noticed they did something wrong, not sure, but this appears to work fine: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
In a form, I am using the template and a variable to set the options for a select. On initial draw, the form places the correct number of options, and if I add an element to the tracked array, that option gets added. Yay. However, if I remove an element from the tracked array, the corresponding option is not removed.
Code example:
So, if I add 3: Jane User to the budgetUsers variable, the option is added.
If I then remove 2: Joe User from budgetUsers, his option remains in the select.
Beta Was this translation helpful? Give feedback.
All reactions