Skip to content

Commit

Permalink
Merge pull request #361 from skyflowapi/SK-1258-fix-invalid-input-sty…
Browse files Browse the repository at this point in the history
…les-when-custom-validations-are-applied-on-expiration-month-expiration-date-collect-elements-js-sdk

SK-1258: fix invalid input styles when custom validations are applied on expiration month expiration date collect elements js sdk
  • Loading branch information
yaswanth-pula-skyflow authored Dec 12, 2023
2 parents 497426a + e1f38c1 commit 71819a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/internal/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ export class FrameElement {

this.iFrameFormElement.on(ELEMENT_EVENTS_TO_CLIENT.CHANGE, (state) => {
// On CHANGE set isEmpty to false
state.isEmpty = false;
state.isEmpty = !state.value;

if (
state.value
Expand Down

0 comments on commit 71819a5

Please sign in to comment.