mobx-react-form: computed value is not an empty array when fields are undefined
hi, ran into an issue today when attempting to use del()
I have an array for a field
let fields = [
'argh',
'argh[]',
]
if i give argh the value [‘a’, ‘b’, ‘c’]
and then attempt to do form.$(argh).del(1) the new value will be ['b', 'c'] (1-based index) instead of ['a', 'c'] (0-based index)
is this intentional? if so why?
Thanks
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 18 (11 by maintainers)
Commits related to this issue
- https://github.com/foxhound87/mobx-react-form/issues/183 — committed to w-/argh by w- 8 years ago
alrites. i’ll test further once you’ve got a fix. thanks again for responsiveness.