Add Feature options on the Manage Features dialog all show as [object Object]

Issue #271 resolved
Ben Freeland created an issue

Setup:

dnd5e: 1.4.1
obsidian: 5.0.7

Steps to reproduce:

  1. Create NPC sheet
  2. Click the gear next to FEATURES
  3. Select drop-down menu in the Manage Features dialog

Expected:

Dropdown shows options such as “Passive”, “Reaction”, and “Action”

Observed:

Dropdown shows all options as “[object Object]”

Suggested Fix

I’ve attached a patch which fixes this by changing “{{obs-i18n 'Feat'}}” to “{{obs-i18n 'Feat' this}}” in html/dialogs/npc-features.html

Comments (1)

  1. Log in to comment