Implement the custom options helper (closes #92)

This commit is contained in:
Oliver-Akins 2024-03-01 18:34:16 -07:00
parent 0e8d1615a7
commit 7516e7b42b
3 changed files with 35 additions and 8 deletions

View file

@ -19,14 +19,7 @@
name="system.stats.{{stat.key}}"
class="e-2dp"
>
{{#select stat.value}}
<option value="">---</option>
{{#each stat.dieOptions as | die |}}
<option value="{{die.value}}" {{disabled die.disabled}}>
{{die.label}}
</option>
{{/each}}
{{/select}}
{{{dd-options stat.value stat.dieOptions}}}
</select>
<button type="button" class="e-2dp">
Roll