firesidewing:
I guess I’m just trying things, and there seems to be ways to do it, but I end up with either really messy/hacky looking solutions or ones where reactivity is breaking.
After my latest attempt, I can change these values but the changes all get lost when I modify another field as the params in the form are not updated. So should I be doing my operations on the params instead of the changeset/form?
Hmm, any chance you added radio buttons to toggle between pricing formulas? Those symptoms you’re describing reminds me of this head scratcher from a while back.
After some digging, I got it working after realizing the checked attribute isn’t rendered by the default generic input function component and needs to be explicitly set which is what the default checkbox input function component does.
You can either update the generic catchall input function to render the checked attribute or preferably add a radio input function component that renders it.
While that did properly check the other radio buttons upon first click, I noticed that clicking back to …
1 Like