Fix tab jumping on form input changes by preventing sheet re-rendering

This commit is contained in:
Alexander Minges 2025-07-29 20:20:50 +02:00
parent d020822012
commit f643999573
Signed by: Athemis
GPG key ID: 31FBDEF92DDB162B
4 changed files with 103 additions and 11 deletions

View file

@ -88,10 +88,8 @@ SPDX-License-Identifier: MIT
<div class="form-group">
<label for="system.allowsDefense-{{data._id}}" title="{{localize 'DS4.SpellAllowsDefenseDescription'}}">{{localize
"DS4.SpellAllowsDefense"}}</label>
<div class="form-fields">
<input id="system.allowsDefense-{{data._id}}" data-dtype="Boolean" type="checkbox" name="system.allowsDefense"
{{checked data.system.allowsDefense}} />
</div>
<input id="system.allowsDefense-{{data._id}}" data-dtype="Boolean" type="checkbox" name="system.allowsDefense"
{{checked data.system.allowsDefense}} />
</div>
<div class="form-group slim">
<label title="{{localize 'DS4.SpellMinimumLevelDescription'}}">{{localize "DS4.SpellMinimumLevel"}}</label>