Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE][86dr2w52q] Weird behaviour on loading forms of Jotforms #78

Merged

Conversation

cgarcia-lightit
Copy link
Collaborator

Light It Pull Request Template ⚡⚡⚡

Resolve: 86dr2w52q

Description

feature: resolve the following problems

  • RadioGroup error using forwardRef when isn't necessary
  • Make Jotform iframe as component and adding a loading to prevent weird behavios while jotform load the form
  • fix jotform undefined variable
  • add package.lock file pending
  • new color for tailwind

Proof of Test (optional) 📷

With loading

Seniors.profiling.with.loading.mov
Cancer.profiling.with.loading.mov

Without loading

Cancer.profiling.without.loading.mov
Seniors.profiling.without.loading.mov

Checklist ✅

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

* RadioGroup error using forwardRef when isn't necessary
* Make Jotform iframe as component and adding a loading to prevent weird behavios while jotform load the form
* fix jotform undefined variable
* add package.lock file pending
* new color for tailwind
apps/eo_web/src/components/JotformFrame.tsx Outdated Show resolved Hide resolved
apps/eo_web/src/components/JotformFrame.tsx Show resolved Hide resolved
apps/eo_web/src/components/JotformFrame.tsx Outdated Show resolved Hide resolved
apps/eo_web/src/components/JotformFrame.tsx Outdated Show resolved Hide resolved
key={id}
label={label}
name={uniqueName}
checked={value === undefined ? value : value === id}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If value is undefined, then we use value? 👀

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this component was copied and pasted from another project, it's not used in this project ( for now ), the unique reason to edit was to fix an error on the console.

@sgoycoechea-lightit sgoycoechea-lightit merged commit 2f5be23 into develop Jan 17, 2024
1 check passed
@sgoycoechea-lightit sgoycoechea-lightit deleted the feature/86dr2w52q/add-loading-for-jotforms-iframes branch January 17, 2024 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants