Only listen to custom components that have the name attribute for form submission
This commit is contained in:
parent
8c83d304b7
commit
44eaec2d38
1 changed files with 2 additions and 2 deletions
|
|
@ -57,8 +57,8 @@ export class GenericActorSheet extends ActorSheet {
|
|||
default.
|
||||
*/
|
||||
html.find(
|
||||
CONFIG.CACHE.componentListeners.join(`,`)
|
||||
).on(`change`, this._onChangeInput.bind(this));
|
||||
CONFIG.CACHE.componentListeners.map(n => `${n}[name]`).join(`,`)
|
||||
).on(`change`, () => this._onChangeInput.bind(this));
|
||||
|
||||
/*
|
||||
Utility event listeners that apply
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue