keajs / kea-forms

MIT License
3 stars 3 forks source link

Fix "undefined is not valid JSON" #8

Closed jurajmajerik closed 6 months ago

jurajmajerik commented 6 months ago

Copying undefined results in:

Uncaught SyntaxError: "undefined" is not valid JSON
    at JSON.parse (<anonymous>)

This fixes it.