Make it so that item sheet rerenders maintain focus on what you were editing

This commit is contained in:
Oliver-Akins 2025-01-17 19:52:46 -07:00
parent db5dfc3234
commit afc8278ffc
6 changed files with 16 additions and 13 deletions

View file

@ -48,6 +48,7 @@ export class ArmourData extends foundry.abstract.TypeDataModel {
getFormFields(ctx) {
const fields = [
{
id: `location`,
type: `string-set`,
label: `RipCrypt.common.location`,
placeholder: `RipCrypt.Apps.location-placeholder`,
@ -55,6 +56,7 @@ export class ArmourData extends foundry.abstract.TypeDataModel {
value: this.locationString,
},
{
id: `protection`,
type: `integer`,
label: `RipCrypt.common.protection`,
value: this.protection,