wq/wq.app

TypeError when clicking on an unsynced item with a validation error

olivierdalang opened this issue · 1 comments

When an item doesn't sync because of a validation error (e.g. too many chars), it appears as unsynced with "one or more errors found".

When clicking on it to fix the error, the screen gets blank with TypeError: Cannot use 'in' operator to search for 'code' in undefined.

react-dom.production.min.js:209 TypeError: Cannot use 'in' operator to search for 'code' in undefined
    at Form.js:88
    at Array.map (<anonymous>)
    at OC (Form.js:87)
    at IC (Form.js:52)
    at $v (react-dom.production.min.js:153)
    at g_ (react-dom.production.min.js:261)
    at cx (react-dom.production.min.js:246)
    at lx (react-dom.production.min.js:246)
    at ex (react-dom.production.min.js:239)
    at react-dom.production.min.js:123

Thanks for reporting this. It should be fixed in wq.app 1.3.0a2.