I have a model with a date field that is not filled in. When I go to the overview of that model in Formage, I get the "Something broke" error message.
The problem is caused in views\model.jade around line 35 (in my version):
when 'Date'
a(href=document_url): =value.toISOString().split('T')[0]
value is not defined so the call to toISOString fails.
The actual exception stack trace points to generated\templates.js but I assume this is generated from the model.jade file.
I have a model with a date field that is not filled in. When I go to the overview of that model in Formage, I get the "Something broke" error message.
The problem is caused in views\model.jade around line 35 (in my version):
value is not defined so the call to toISOString fails.
The actual exception stack trace points to generated\templates.js but I assume this is generated from the model.jade file.