Add the ability to update the ammo quantity from the starred shortcuts

This commit is contained in:
Oliver-Akins 2025-04-09 21:42:32 -06:00
parent 4e89763901
commit 01f9fba593
2 changed files with 44 additions and 6 deletions

View file

@ -129,8 +129,12 @@
</div>
<input
type="number"
value="{{data.quantity}}"
id="{{@root.meta.idp}}-{{data.uuid}}-quantity"
value="{{data.quantity}}"
aria-label="Quantity of {{data.name}}"
data-foreign-update-on="change,blur"
data-foreign-uuid="{{data.uuid}}"
data-foreign-name="system.quantity"
>
</div>
{{else}}