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 "resetValueIf" trigger expression into question #6989

Closed
andrewtelnov opened this issue Sep 21, 2023 · 0 comments
Closed

Add "resetValueIf" trigger expression into question #6989

andrewtelnov opened this issue Sep 21, 2023 · 0 comments
Assignees
Milestone

Comments

@andrewtelnov
Copy link
Member

andrewtelnov commented Sep 21, 2023

If the expression returns true on chaning questions using in this expression then the question value should be cleared.
If there is defaultValueExpression or defaultValue then it should be executed immediately after the value is cleared.

@andrewtelnov andrewtelnov self-assigned this Sep 21, 2023
@andrewtelnov andrewtelnov changed the title Add "clearValueIf" expression into question Add "clearValueOn" trigger expression into question Sep 24, 2023
@andrewtelnov andrewtelnov changed the title Add "clearValueOn" trigger expression into question Add "resetValueIf" trigger expression into question Sep 25, 2023
andrewtelnov added a commit that referenced this issue Sep 25, 2023
tsv2013 pushed a commit that referenced this issue Sep 25, 2023
* Add "clearValueIf" expression into question #6989

* Add tests on matrices #6869

* Change clearValueIf into question trigger clearValueOn #6989

* Support root question in panels/matrices expressions #6989

* Rename clearValueOn to resetValueIf #6989

* Add a description

* rename private properties #6989

---------

Co-authored-by: Roman Tsukanov <roman.tsukanov@devexpress.com>
@OlgaLarina OlgaLarina added this to the v1.9.110 milestone Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants