Version
"mobx-react": "5.4.3",
"mobx-react-form": "1.35.1",
Example 1
const fields = {
testField: ['', ''],
};
const form = new MobxReactForm({ fields });
console.log('test form values', form.values()); //returns {testField:[]}
Example 2
const fields = {
testField: ['', '1', ''],
};
const form = new MobxReactForm({ fields });
console.log('test form values', form.values()); //returns {testField:['1']}
I was expecting Example 1 would return {testField: ['', '']} and Example 2 return {testField: ['', '1', '']}, but it seems like empty strings get trimmed out when the values function is called
Version "mobx-react": "5.4.3", "mobx-react-form": "1.35.1",
Example 1
Example 2
I was expecting Example 1 would return
{testField: ['', '']}
and Example 2 return{testField: ['', '1', '']}
, but it seems like empty strings get trimmed out when the values function is calledhow can I keep the empty strings?