Skip to content

Commit

Permalink
SK-1238 Ability to update element props dynamically
Browse files Browse the repository at this point in the history
- Added support for updating skyflowID dynamically
  • Loading branch information
skyflow-vivek committed Dec 13, 2023
1 parent 5b396b9 commit 997d646
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/internal/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@ export class FrameElement {
inputStyles,
labelStyles,
errorTextStyles,
skyflowID,
} = data.options;
if (validations) {
this.iFrameFormElement.validations = validations;
Expand Down Expand Up @@ -369,6 +370,9 @@ export class FrameElement {
if (labelStyles) {
this.injectInputStyles(labelStyles, 'label');
}
if (skyflowID) {
this.iFrameFormElement.skyflowID = skyflowID;
}
}
});

Expand Down

0 comments on commit 997d646

Please sign in to comment.