Bug: Switching a Condition from Input to Data Binding Resets the Condition Value
When changing a State Machine transition condition from Input to Data Binding, the condition value is reset.
Steps
Create a transition condition using an Input (e.g. weatherIndex == 2)
Switch the condition source to Data Binding
Expected
The condition value should be preserved (or at least warn before resetting).
Actual
The value resets, which can silently break transitions.
Why it matters
As Data Binding becomes the preferred approach and Inputs are less central, migrating existing State Machines is currently error-prone.
Suggestion
Preserve the value when switching, warn the user, or provide a safe “Convert Input → Data Binding” flow.