Describe the Bug
When creating a new Trino instance, the Enable OPA switch does not preserve the user-selected value when navigating between wizard steps.
If the user disables Enable OPA, proceeds to the Review step, and then navigates back to the Parameters step, the switch is enabled again even though it was previously turned off.
The UI should preserve the state of the form while navigating through the deployment wizard.
Steps to Reproduce
- Perform a fresh OKDP installation.
- Create a new Trino instance.
- Go to the Parameters step.
- Disable the Enable OPA switch.
- Click Next to go to the Review step.
- Click Back to return to the Parameters step.
- Observe the state of the Enable OPA switch.
Step 1

Step 2

Step 3

Expected Behavior
The deployment wizard should preserve all user-entered values while navigating between steps.
After returning to the Parameters step, the Enable OPA switch should remain disabled.
Actual Behavior
The Enable OPA switch is automatically re-enabled after navigating back from the Review step, even though the user previously disabled it.
Environment
Kubernetes version
Details
$ kubectl version
Client Version: v1.36.2
Kustomize Version: v5.8.1
Server Version: v1.32.2
Helm version
Details
$ helm version
version.BuildInfo{
Version:"v4.2.2",
GitCommit:"b05881cf967a5a09e19866799d0edfd40675803a",
GitTreeState:"clean",
GoVersion:"go1.26.4",
KubeClientVersion:"v1.36"
}
Chart / component version
Cluster setup
- Fresh OKDP installation
- Kubernetes cluster
Logs
Anything else we need to know?
The issue appears to be related to the deployment wizard state management.
The value is correctly propagated to the Review step after clicking Next, but navigating back to the Parameters step resets the Enable OPA switch to its default value instead of preserving the user's previous selection.
Describe the Bug
When creating a new Trino instance, the Enable OPA switch does not preserve the user-selected value when navigating between wizard steps.
If the user disables Enable OPA, proceeds to the Review step, and then navigates back to the Parameters step, the switch is enabled again even though it was previously turned off.
The UI should preserve the state of the form while navigating through the deployment wizard.
Steps to Reproduce
Step 1



Step 2
Step 3
Expected Behavior
The deployment wizard should preserve all user-entered values while navigating between steps.
After returning to the Parameters step, the Enable OPA switch should remain disabled.
Actual Behavior
The Enable OPA switch is automatically re-enabled after navigating back from the Review step, even though the user previously disabled it.
Environment
Kubernetes version
Details
Helm version
Details
Chart / component version
480.0.0-p05Cluster setup
Logs
Anything else we need to know?
The issue appears to be related to the deployment wizard state management.
The value is correctly propagated to the Review step after clicking Next, but navigating back to the Parameters step resets the Enable OPA switch to its default value instead of preserving the user's previous selection.