Skip to main content
Question

Include a NULL value in my dropdown

  • August 6, 2026
  • 1 reply
  • 311 views

denise.kruge12
Level 7
Forum|alt.badge.img+20

Good day,

 

In my Settings view I am asking my App user to select certain events that matches a scenario. How do I include the option in my button for a NULL value if such events are not available in the data set? I save my button input into a variable. Currently I add a button next to my button to revert the variable value to NULL but I am not sure if this is the correct way to do this.

Any assistance will be appreciated. Thank you.

1 reply

abhishek.chatu14
Level 12
Forum|alt.badge.img+8

Using a separate Reset/Clear button to set the variable back to NULL is currently a reasonable workaround, as there does not appear to be a built-in option for a single-select dropdown or button-style input to directly unselect a value.

If “no event selected” is a valid scenario, a cleaner user experience would be to add an explicit option such as None, N/A, or No event, and handle that value in the PQL as equivalent to no selection.

If an actual NULL value is required, the Clear/Reset button remains the better approach. One limitation, however, is that resetting the underlying variable to NULL may not always visually clear the selected value shown in the View input.