Skip to content

Commit

Permalink
Make initial collecting of meta data of a tangy-form more safe to avo…
Browse files Browse the repository at this point in the history
…id race conditions of uninitialized tangy-form-item elements
  • Loading branch information
rjcorwin committed May 13, 2020
1 parent 4f173f4 commit b41cc62
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tangy-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,8 @@ export class TangyForm extends PolymerElement {
items: [...this.querySelectorAll('tangy-form-item')].map(itemEl => {
return {
...itemEl.getProps(),
inputs: itemEl.getInputsMeta()
// Skip because tangy-form-item may not be initialized.
// inputs: itemEl.getInputsMeta()
}
})
}
Expand Down

0 comments on commit b41cc62

Please sign in to comment.