mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
FIX: remove schema
ADD: input of example
This commit is contained in:
parent
ff4f6a22d3
commit
fad8b25b45
2 changed files with 2 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
<header>
|
||||
{{log this}}
|
||||
<input type="text" name="name" value="{{document.name}}">
|
||||
</header>
|
||||
Loading…
Add table
Add a link
Reference in a new issue