Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Html is loaded partially #510

Open
RezikoChkadua opened this issue Aug 30, 2021 · 1 comment
Open

Html is loaded partially #510

RezikoChkadua opened this issue Aug 30, 2021 · 1 comment

Comments

@RezikoChkadua
Copy link

Hello, I'm trying to embed the script from the FromStack into the Next.js application.

The problem is that the HTML is rendered partially and some of the content is missing.

@gradpawel
Copy link

gradpawel commented Jan 17, 2023

Hi,
I have similar issue. Application is written in vuejs 2.7.

  mounted() {
    const loadingDone = () => {
      this.$emit("formstack-loading-done");
    };
    postscribe(
      "#formstack",
      `<script type="text/javascript" src="${process.env.VUE_APP_FORM_URL}"></` +
        `script>`,
      {
        done: loadingDone,
      }
    );
  }

I'm waiting untill it will be loaded then event is emitted which manipulates DOM to show form. I't never showing next button on form after entering the page. When I refresh page it will always show form correctly.

@RezikoChkadua have you fount the solution?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants