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

Add default values on initial form creation #2374

Closed

Conversation

abilpraju-aot
Copy link
Contributor

@abilpraju-aot abilpraju-aot commented Nov 22, 2024

Issue Tracking

JIRA:
Issue Type: BUG/ FEATURE
https://aottech.atlassian.net/browse/FWF-3985
https://jam.dev/c/5e4c9c43-0608-468c-80d9-118fc4267f03

Changes

Screenshots (if applicable)

Notes

Checklist

  • Updated changelog
  • Added meaningful title for pull request

@abilpraju-aot abilpraju-aot changed the title iniial test Add default values on initial form creation Nov 25, 2024
@abilpraju-aot abilpraju-aot marked this pull request as ready for review November 26, 2024 04:00
@abilpraju-aot abilpraju-aot requested review from a team as code owners November 26, 2024 04:00
useEffect(() => {
// Automatically add hidden application components to the form on render/update
const updatedForm = addHiddenApplicationComponent(form);
dispatchFormAction({ type: "replaceForm", value: updatedForm });
Copy link
Contributor

Choose a reason for hiding this comment

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

is some one restored the old version of the form then need to add this component right ? @arun-s-aot @abilpraju-aot

Choose a reason for hiding this comment

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

@shuhaib-aot , what do you mean by restored, import an old form or getting back in history?

Choose a reason for hiding this comment

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

it may repeat in all renders.

Copy link

sonarcloud bot commented Nov 27, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
4.8% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

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