Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
feg
Employee
Employee

Mashup selectValues() and always one selected value

Hi all,

I'm running the following function

app.qlik.field(fieldName).selectValues(fieldValuestruetrue);
 
the function works fine in general but if "fieldName" has the "always one selected" set on it does not works.
Is anybody else experiencing the same?
Labels (2)
1 Solution

Accepted Solutions
Simon_Astakhov
Partner - Contributor III
Partner - Contributor III

Hi! Hope you find solution already.
You just need to change second (toggle) argument of selectValues() function to False.
Because you disable toggle function using always one selected value option (field cannot be toggled).
Have fun )

View solution in original post

1 Reply
Simon_Astakhov
Partner - Contributor III
Partner - Contributor III

Hi! Hope you find solution already.
You just need to change second (toggle) argument of selectValues() function to False.
Because you disable toggle function using always one selected value option (field cannot be toggled).
Have fun )