Can't type "+ 1" in Set state Value expression

This is surely simple, but completely escapes me: why can I not type “+ 1” in the expression here:

image

I click “:max”, then I click “More”, then I type “+ 1” in the new field, then click out of the field, and the expression reverts to “:max” as the last argument. I click “:max”, then I click “More”, then I type " + 1" in the new field, then click out and the expression reverts to “:max” as the last argument I click “:max”, then I type “+ 1” inside the :max field, then click out and th expression reverts. What is the correct way to get “+ 1” into the expression?

I"m trying to accomplish this:
image

from this post.

Thanks!

You need to first select the + operator and after manually type 1.

I don’t see the + operator under either Operators or Other Operators.




Did you click on max, and click on the more right after ? You seem to display the option you have when you select max, but not after max.

You could also try to activate parenthesis feature, this is sometimes easier to find the correct place to add more operator after an expression

1 Like

I agree with the OP, there is a bug that makes it difficult to type arithmetic functions in

Yes, I clicked More. If I don’t click More, it looks like this:

How does one activate the parenthesis feature? “Parenthesis” doesn’t return any useful results when I search the manual.

Here is how you turn on parentheses


Hope that helps. :blush:
Let us know if that fixes the issue.

3 Likes

Hi, @jared.the.automator
I’ve posted my guide a week before Bubble announced the funeral of Beta Expression Composer on April 10 2024.
So after it has been deprecated - you need to use an old Expression parentheses beta feature as @Jici and @J805 mentioned above.

1 Like

make sure the state’s type is ‘number’

This topic was automatically closed after 70 days. New replies are no longer allowed.