1
0
Fork 0

added a computed property

Dieser Commit ist enthalten in:
Faizaan Gagan 2021-01-08 12:42:58 +05:30
Ursprung ea5b420253
Commit 25021edd82

Datei anzeigen

@ -15,6 +15,10 @@ export default {
FieldComponent.reopen({
classNameBindings: ["field.id"],
textType: function() {
return ['text', 'textarea', 'composer'].includes(this.get('field.type'));
}.property("field.type"),
cookedDescription: function () {
return cook(this.get("field.description"));
}.property("field.description"),