שדה משתמש לא עובד ב-plugin outlet

אני מנסה להוסיף שדה משתמש זה: user-fields/5 בשקע זה: above-user-summary-stats. אבל זה לא נטען, הנה ה-hbs שאני מנסה להשתמש בו:

{{!-- הצג וערוך שדה משתמש מותאם אישית (למשל, "הערת פרופיל") עבור user_field_5 --}}
{{#if this.fieldValue}}
  <div>
    <strong>הערת פרופיל:</strong> {{this.fieldValue}}
  </div>
{{else}}
  {{#if this.canEdit}}
    <div class="profile-note-display empty">
      <em>לא הוגדרה הערת פרופיל</em>
    </div>
  {{/if}}
{{/if}}

{{#if this.canEdit}}
  {{#unless this.editing}}
    <button class="btn btn-primary btn-small" {{on "click" this.startEdit}}>
      {{#if this.fieldValue}}ערוך{{else}}הוסף{{/if}} הערת פרופיל
    </button>
  {{/unless}}
{{/if}}

{{#if this.editing}}
  <form {{on "submit" this.save}}>
    <textarea
      rows="4"
      style="width:100%;"
      value={{this.editValue}}
      {{on "input" this.updateEdit}}
      autofocus
    ></textarea>
    <br>
    <button type="submit" class="btn btn-primary btn-small">שמור</button>
    <button type="button" class="btn btn-conditional btn-small" {{on "click" this.cancelEdit}}>בטל</button>
  </form>
{{/if}}

מה יכולה להיות הבעיה האפשרית?

לייק 1

אני לא חושב שיש לנו מספיק מידע כדי לעזור בהתבסס על התבנית הזו בלבד. כיצד this.fieldValue מוגדר?

אם תזין user_field_5 בהגדרת האתר Public user custom fields… תוכל לגשת אליו מנקודת יציאה זו של התוסף

או בתבנית שלך כמו: {{@user.custom_fields.user_field_5}}

או ב-JS שלך כמו: this.args.user?.custom_fields?.user_field_5

לייק 1