From 37c784123b709373a96ffc7d594c69b96abc8b49 Mon Sep 17 00:00:00 2001 From: cadowtin Date: Mon, 16 Sep 2024 02:39:58 -0500 Subject: [PATCH] Possible fix for no tab data --- scripts/helpers/settingsConfigForm.js | 5 +++-- templates/pf2e-rpg-settings-config.hbs | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/helpers/settingsConfigForm.js b/scripts/helpers/settingsConfigForm.js index 26d2fbe..6130632 100644 --- a/scripts/helpers/settingsConfigForm.js +++ b/scripts/helpers/settingsConfigForm.js @@ -35,9 +35,10 @@ export class SettingsConfigForm extends FormApplication { getData() { //game.settings.get('myModuleName', 'myComplexSettingName') - return { + /*return { placeholder: true - }; + };*/ + return super.getData().object } async _updateObject(event, formData) { diff --git a/templates/pf2e-rpg-settings-config.hbs b/templates/pf2e-rpg-settings-config.hbs index bf6b46d..b67cac0 100644 --- a/templates/pf2e-rpg-settings-config.hbs +++ b/templates/pf2e-rpg-settings-config.hbs @@ -1,6 +1,6 @@