Skip to content

Commit

Permalink
removed onstate change subscription causing incorrect payload (#217)
Browse files Browse the repository at this point in the history
Co-authored-by: mohas22 <[email protected]>
Co-authored-by: tumms2021389 <[email protected]>
  • Loading branch information
3 people authored Oct 29, 2024
1 parent 5c91ff0 commit d008203
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions src/components/fields/Currency/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ class Currency extends FormComponentBase {

// setup this component's styling...
this.theComponentStyleTemplate = currencyStyles;

// NOTE: Need to bind the callback to 'this' so it has this element's context when it's called.
this.registerAndSubscribeComponent(this.onStateChange.bind(this));
}

disconnectedCallback() {
Expand Down
3 changes: 0 additions & 3 deletions src/components/fields/Integer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ class Integer extends FormComponentBase {

// setup this component's styling...
this.theComponentStyleTemplate = integerStyles;

// NOTE: Need to bind the callback to 'this' so it has this element's context when it's called.
this.registerAndSubscribeComponent(this.onStateChange.bind(this));
}

disconnectedCallback() {
Expand Down

0 comments on commit d008203

Please sign in to comment.