Swiss AI Hub v0.291.5
Pre-release
Pre-release
Changed
- 🔄 Refined
getNestedValueutility: ThegetNestedValuefunction has been refactored to operate as a pure
read-only function, specifically for retrieving nested arrays. This change prevents unintended mutations of form data
during render-time and mitigates potential recursive render loops in reactive contexts. It now strictly returns an
array or an empty array if the specified path does not lead to an array.
Fixed
- 🛠️ Improved Repeater Initialization: FormKit repeater fields now correctly materialize as an empty array during
form loading if their default value isundefined. This proactive initialization ensures a consistent array structure
for repeaters, preventing unexpected behavior and improving stability in reactive render contexts.