Skip to content

Comments

chore: TS migration for by-formula dialog#3753

Open
dbraquart wants to merge 7 commits intomainfrom
dbraquart/ts-migration-ByFormulaDialog
Open

chore: TS migration for by-formula dialog#3753
dbraquart wants to merge 7 commits intomainfrom
dbraquart/ts-migration-ByFormulaDialog

Conversation

@dbraquart
Copy link
Contributor

PR Summary

JS -> TS

dbraquart and others added 5 commits February 20, 2026 14:50
Signed-off-by: David BRAQUART <david.braquart@rte-france.com>
Signed-off-by: David BRAQUART <david.braquart@rte-france.com>
Signed-off-by: David BRAQUART <david.braquart@rte-france.com>
Signed-off-by: David BRAQUART <david.braquart@rte-france.com>
): ReferenceFieldOrValue {
if (isMixedValueNumber(input)) {
return {
value: convert ? convertOutputValue(fieldType as FieldType, input) : input,
Copy link
Contributor

Choose a reason for hiding this comment

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

you forget to do replace(',', '.') on input and parse it into a number

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good catch. fixed

dbraquart and others added 2 commits February 24, 2026 16:24
@dbraquart dbraquart requested a review from achour94 February 24, 2026 18:02
@sonarqubecloud
Copy link

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