mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-16 05: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, {
|
return Object.assign(context, {
|
||||||
document,
|
document,
|
||||||
source: document._source,
|
source: document._source,
|
||||||
fields: document.schema.fields,
|
|
||||||
editable: this.isEditable,
|
editable: this.isEditable,
|
||||||
user: game.user,
|
user: game.user,
|
||||||
rootId: this.id,
|
rootId: this.id,
|
||||||
|
|
@ -62,6 +61,6 @@ export default class PseudoDocumentSheet extends HandlebarsApplicationMixin(Appl
|
||||||
*/
|
*/
|
||||||
static async #onSubmitForm(event, form, formData) {
|
static async #onSubmitForm(event, form, formData) {
|
||||||
const submitData = foundry.utils.expandObject(formData.object);
|
const submitData = foundry.utils.expandObject(formData.object);
|
||||||
await this.pseudoDocument.update(submitData, options);
|
await this.pseudoDocument.update(submitData);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
<header>
|
<header>
|
||||||
{{log this}}
|
<input type="text" name="name" value="{{document.name}}">
|
||||||
</header>
|
</header>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue