schema:#/definitions/condition is treated the same as schema:#/definitions/booleanExpression #5334
Open
2 of 8 tasks
Labels
Area: Adaptive
The issue is related to Adaptive dialogs
Describe the bug
schema:#/definitions/condition indicates that the default UX for the property should be the expression editor. NOTE: It should NOT HAVE an equals.
schema:#/definitions/booleanExpression indicates that the value could be a bool TRUE/FALSE or an expression which evaluates to that.
If you look in the schema you can see that IfCondition action the condition is different then disabled
I have written 3 bots with composer and NOT ONCE have I had a trigger or IfCondition which was "TRUE/FALSE". 100% of the time it was an expression such as user.age > 3
The current UI is saying that the default for an If condition is true
The effect of this bug is that I have to click 3 times EVERYTIME I create a new trigger or IfCondition.
By the end of a long day I am swearing at the monitor.
Version
Browser
OS
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect the schema design to be respected.
This should be all places that /definitions/condition is used in the .schema files:
Screenshots
Additional context
The text was updated successfully, but these errors were encountered: