Skip to content

track state change on dictionary elements (v_model within v_for) #108

Answered by jourdain
PedroFO asked this question in Q&A
Discussion options

You must be logged in to vote

Like you said because the change is nested the reactivity fails to notice the change but you can fix that by adding change=" flushState('parameters_dic')", which means at the end of the slider change, the "client/js" will execute a flushState that will have the effect of pushing any variable listed to the server regardless of their modification.

If you want to have a more tight sync, you can use input=... rather than change=....

HTH,

Seb

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by PedroFO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants