Skip to content

PSClickwrap onValid is not triggering #80

@abdumanas-plutoflume

Description

@abdumanas-plutoflume
<PSClickWrap
      accessId={siteAccessId}
      testMode={true}
      groupKey={clickwrapGroupKey}
      signerId={attachedSignerId}
      forceScroll={true}
      disableSending={true}
      customData={{
        full_name: fullName,
        email: email,
      }}
      onValid={() => {
        console.log("onValid");
      }}
      allowDisagreed={true}
      onInvalid={() => {
        console.log("onInvalid");
      }}
    />

If I fill out the signer ID input field AFTER accepting the contract, onValid is not called. So I'm not able to set my state which holds info as to whether the contract is signed, correctly.

The user has to then uncheck and check the checkbox again for the onValid callback to be invoked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions