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

Condition on source using components #5314

Merged
merged 1 commit into from
Nov 14, 2023

Conversation

boutinb
Copy link
Contributor

@boutinb boutinb commented Nov 10, 2023

If a source use a component like a dropdown for example:
'source: myVariables.drop' // if drop is the dropdown name.
And is this source use some condition using another component:
'source: [{name: "myVariables.drop", condition: "check" }] // if check the name of checkbox component of the source.
Then the condition should be applied for the values of the source model.

To understand better what happens, see in the jaspTestModule, the "Test Sources with special attributes" analysis, "Source with controls" section

If a source use a component like a dropdown for example:
    'source: myVariables.drop' // if drop is the dropdown name.
And is this source use some condition using another component:
    'source: [{name: "myVariables.drop", condition: "check" }] // if check the name of checkbox component of the source.
Then the condition should be applied for the values of the source model.

To understand better what happens, see in the jaspTestModule, the "Test Sources with special attributes" analysis, "Source with controls" section
@JorisGoosen JorisGoosen merged commit 6b47452 into jasp-stats:development Nov 14, 2023
1 check passed
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