FIX: remove schema

ADD: input of example
This commit is contained in:
Joaquin Pereyra 2025-06-11 15:21:40 -03:00
parent ff4f6a22d3
commit fad8b25b45
2 changed files with 2 additions and 3 deletions

View file

@ -47,7 +47,6 @@ export default class PseudoDocumentSheet extends HandlebarsApplicationMixin(Appl
return Object.assign(context, {
document,
source: document._source,
fields: document.schema.fields,
editable: this.isEditable,
user: game.user,
rootId: this.id,
@ -62,6 +61,6 @@ export default class PseudoDocumentSheet extends HandlebarsApplicationMixin(Appl
*/
static async #onSubmitForm(event, form, formData) {
const submitData = foundry.utils.expandObject(formData.object);
await this.pseudoDocument.update(submitData, options);
await this.pseudoDocument.update(submitData);
}
}

View file

@ -1,3 +1,3 @@
<header>
{{log this}}
<input type="text" name="name" value="{{document.name}}">
</header>