Skip to content

v0.2.0-alpha02

Latest

Choose a tag to compare

@robercoding robercoding released this 18 Oct 20:21
· 0 commits to main since this release

🐛 Version 0.2.0-alpha02

🔧 Bug Fixes & Improvements

This release fixes critical issues when dynamically switching between FRACTIONAL and FIXED_DECIMALS input modes, and enhances the demo app with input mode selectors and debug information.

What's Fixed

Input Mode Switching

Previously, when switching between input modes, the rawDigits field would carry over incorrectly, causing unexpected formatting behavior:

Before (Broken):

1. Type "48730" in FRACTIONAL mode → displays "48,730 kg" (48.730)
2. Switch to FIXED_DECIMALS mode
3. Type "1" → displays "487.301,000 kg" ❌ (incorrect!)

Now (Fixed):

1. Type "48730" in FRACTIONAL mode → displays "48,730 kg" (48.730)
2. Switch to FIXED_DECIMALS mode → displays "48,730 kg" (preserved!)
3. Type "1" → displays "48,731 kg" ✅ (correct!)