The issue is the change event is emitted before the units variable is updated, which causes the previous value to be re-saved in the database, not the new radio selection.
Did anyone resolved?
I’m getting yet the previous state of the radio group. It’s useless.
[Edit] Sorry, the solution by Charlie001 works!. My problem is different.