[PR] [Feature] Refocus consumable quantity and simple resource fields on change (#1401)

* Refocus quantity and simple resource fields on change

* Swap to uuid
This commit is contained in:
Carlos Fernandez 2025-12-20 17:08:24 -05:00 committed by GitHub
parent 148c9c019a
commit fe80b4d0f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -74,7 +74,7 @@ Parameters:
{{/if}}
{{#if (and (not hideResources) (gte item.system.quantity 0))}}
<div class="item-resource">
<input type="number" class="inventory-item-quantity" value="{{item.system.quantity}}" min="0" />
<input type="number" id="{{item.uuid}}-quantity" class="inventory-item-quantity" value="{{item.system.quantity}}" min="0" />
</div>
{{/if}}