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

feat: enable JEXLs for options in choice and multiple choice questions #2767

Merged
merged 3 commits into from
Jan 31, 2025

Conversation

StephanH90
Copy link
Contributor

@StephanH90 StephanH90 commented Aug 16, 2024

Description

Adds JEXLs to options for choice and multiple choice questions.

If an option has been selected which becomes invisible due to it's JEXL it behaves like an option that isn't available anymore.

Form builder:
grafik

Fixes # (issue)

Depedencies

Depends on projectcaluma/caluma#2269 (merged)

@StephanH90 StephanH90 added enhancement New feature or request form builder form rendering javascript Pull requests that update Javascript code labels Aug 16, 2024
@StephanH90 StephanH90 force-pushed the feat/options-jexls branch 3 times, most recently from f8a40b5 to 6ce5c3e Compare August 16, 2024 12:17
@StephanH90 StephanH90 requested a review from anehx August 16, 2024 12:18
@luytena luytena force-pushed the feat/options-jexls branch from 892b885 to d5ef8e3 Compare January 28, 2025 08:25
@luytena luytena self-requested a review January 30, 2025 17:23
Copy link
Contributor

@luytena luytena left a comment

Choose a reason for hiding this comment

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

Looks good to me 💯

@StephanH90
Copy link
Contributor Author

Looks good to me.

@luytena luytena merged commit 1e12609 into projectcaluma:main Jan 31, 2025
64 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request form builder form rendering javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants