Make it so that item sheet rerenders maintain focus on what you were editing
This commit is contained in:
parent
db5dfc3234
commit
afc8278ffc
6 changed files with 16 additions and 13 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue