mercredi 5 décembre 2018

Emberjs: alternative rendering of an undefined attribute

I would love to control how an undefined attribute of a model is rendered. Perhaps undef. This would help in catching typos. Currently it's just rendered as empty string.

PS. Ideally, the ember-template-lint marked them as errors: https://github.com/ember-template-lint/ember-template-lint/issues/575




Aucun commentaire:

Enregistrer un commentaire