Skip to content

Commit

Permalink
Fix an issue where certain dropdowns didn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
StasTserk committed Jul 15, 2024
1 parent 5cf6ddb commit 8588696
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions templates/items/skill.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
<label class='item-setting-label'>
{{localize 'BW.skill.type'}}
</label>
<select name='system.skilltype' value='{{system.skilltype}}'>
{{selectOptions skillTypes value=system.skilltype localize=true}}
<select name='system.skilltype'>
{{selectOptions skillTypes selected=system.skilltype localize=true}}
</select>
<label class='item-setting-label'>
{{localize 'BW.skill.restrictions'}}
Expand Down
2 changes: 1 addition & 1 deletion templates/parts/npc-stat.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{{#if attributeShadePath}}
{{log this}}
<select name="system.{{attributeShadePath}}">
{{selectOptions @root.shades selected=(concat "system." attributeShadePath)}}
{{selectOptions @root.shades selected=attributeShade}}
</select>
{{/if}}
<input type="number" name="system.{{attributePath}}" data-dtype="Number" value="{{attributeValue}}">
Expand Down

0 comments on commit 8588696

Please sign in to comment.