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

@W-14808875 - allow ISNULL to work with booleans when used in clientside JavaScript #154

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mgoldspink-salesforce
Copy link

This is needed in Screen Flows for checkbox inputs which can be hidden. If a field is hidden by rules then it's value should be null. This is true for all fields, but unfortunately checkboxes are immediately registed as booleans and therefore due to the formula engine restricting null checks on booleans we have a number of bugs that come up.

This fix allows booleans to be null checked when the allowNullableBooleansInJs flag is set to true.

…ide JavaScript

This is needed in Screen Flows for checkbox inputs which can be hidden. If a field is hidden by rules then it's value should be null. This is true for all fields, but unfortunately checkboxes are immediately registed as booleans and therefore due to the formula engine restricting null checks on booleans we have a number of bugs that come up.

This fix allows booleans to be null checked when the allowNullableBooleansInJs flag is set to true.
Copy link

salesforce-cla bot commented Feb 4, 2025

Thanks for the contribution! It looks like @mgoldspink-salesforce is an internal user so signing the CLA is not required. However, we need to confirm this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant