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: [#9151] LG for 'choices' field in multi choice input results in Warning #9321

Merged
merged 10 commits into from
May 16, 2024

Conversation

ceciliaavila
Copy link
Collaborator

Description

This PR fixes the validation of LG expressions to avoid showing a warning when LG expressions are used.
A trimExpression function was added to remove the ${} characters of the expression allowing it to be correctly parsed.
It also adds a unit test to cover this new function.

Task Item

Fixes #9151

Screenshots

These images show the warning displayed before and the LG expression being properly validated after.

BEFORE
image
AFTER
image

OEvgeny
OEvgeny previously approved these changes Sep 14, 2022
@coveralls
Copy link

coveralls commented Oct 27, 2022

Coverage Status

coverage: 54.402% (+0.01%) from 54.388%
when pulling 259a975 on southworks/fix/lg-expression-validation
into d245206 on main.

@OEvgeny
Copy link
Collaborator

OEvgeny commented Apr 26, 2024

Should be good to go after related package lock hash updates

@OEvgeny OEvgeny merged commit bc5cc73 into main May 16, 2024
5 checks passed
@OEvgeny OEvgeny deleted the southworks/fix/lg-expression-validation branch May 16, 2024 20:19
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.

LG for 'choices' field in multi choice input results in Warning
4 participants