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

Fix scale value to avoid nullity #699

Merged
merged 2 commits into from
Nov 27, 2023
Merged

Fix scale value to avoid nullity #699

merged 2 commits into from
Nov 27, 2023

Conversation

f-necas
Copy link
Collaborator

@f-necas f-necas commented Nov 20, 2023

Datafeeder Scale fix

In order to avoid a null value sent to the server while a default value is the present in the UI.

This PR fixes the next issue :

❗ Also fix an error in the console mentioning that 'BrowserAnimationsModule' wasn't present.

@f-necas f-necas requested a review from jahow November 20, 2023 16:48
Copy link
Contributor

github-actions bot commented Nov 20, 2023

Affected libs: feature-editor,
Affected apps: datafeeder, metadata-editor, demo,

  • 🚀 Build and deploy storybook and demo on GitHub Pages
  • 📦 Build and push affected docker images

Copy link
Collaborator

@jahow jahow left a comment

Choose a reason for hiding this comment

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

Thanks, not tested but it makes sense

@@ -103,15 +104,20 @@ export class WizardFieldComponent implements AfterViewInit, OnDestroy {
return data ? new Date(Number(data)) : new Date()
}
case WizardFieldType.DROPDOWN: {
//TODO called continuously
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could you maybe make that clearer? does that mean that this code is executed a lot and that it's undesirable?

@f-necas f-necas merged commit 8c497f9 into main Nov 27, 2023
5 of 6 checks passed
@jahow jahow deleted the DF/fix-empty-value-dropdown branch January 11, 2024 12:16
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.

2 participants