Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 17:30:29 +01:00
added a computed property
Dieser Commit ist enthalten in:
Ursprung
ea5b420253
Commit
25021edd82
1 geänderte Dateien mit 4 neuen und 0 gelöschten Zeilen
|
@ -15,6 +15,10 @@ export default {
|
||||||
FieldComponent.reopen({
|
FieldComponent.reopen({
|
||||||
classNameBindings: ["field.id"],
|
classNameBindings: ["field.id"],
|
||||||
|
|
||||||
|
textType: function() {
|
||||||
|
return ['text', 'textarea', 'composer'].includes(this.get('field.type'));
|
||||||
|
}.property("field.type"),
|
||||||
|
|
||||||
cookedDescription: function () {
|
cookedDescription: function () {
|
||||||
return cook(this.get("field.description"));
|
return cook(this.get("field.description"));
|
||||||
}.property("field.description"),
|
}.property("field.description"),
|
||||||
|
|
Laden …
In neuem Issue referenzieren