SDIjeremy
SDIjeremy
Closes https://github.com/ecrmnn/collect.js/issues/311
Closes #313
❌ **Javascript Collect.js** ```js collect({ "posts.1.published": "The posts.1.published must be accepted.", "posts.1.comments.0.message": "The posts.1.comments.0.message must be a string." }).groupBy((error, field) => field.substring(0,7)) ``` `TypeError: this.items.forEach is not a function` https://runkit.com/embed/ffbieqiw4ine...
Currently it is not possible to access the Key/Index of the item while using `reduce()` ```php $collection->reduce(function ($carry, $value, $key) use ($ratio) { return $carry + ($value * $ratio[$key]); });...
### Reproduction https://formkit.link/d72f2299d4a7f154ca70fd0612a29c94 ### Describe the bug If you set `minDecimals` to `0`, then when you delete the value it just goes to empty. You can compare the 2 inputs...