Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

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
@ceciliaavila ceciliaavila force-pushed the southworks/fix/lg-expression-validation branch from 6ede2ad to c448cc1 Compare October 27, 2022 17:54
@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
@OEvgeny OEvgeny deleted the southworks/fix/lg-expression-validation branch May 16, 2024 20:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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