group-ratio-visual-editor.tsx
43.4 KB
-
fix: keep group ratio input as string draft to allow decimal typing (#5995) · 394b023d
The ratio column normalized input to number on every keystroke, so typing 0.05 got stuck at 0.0 which Number() collapses to 0. Keep the value as a string draft like the top-up ratio column and only convert to number when serializing. Fixes #5986
feitianbubu committed