authentik
authentik copied to clipboard
Text fields are not cleared across multiple prompt stages
Describe the bug Whenever I have text prompts across multiple prompt stages in a row within a flow, some fields get copied over from the previous prompt stage even if it has a completely different field key, label, and name.
To Reproduce Steps to reproduce the behavior:
- Create an enrollment flow
- Create text prompts
- Assign those prompts to multiple prompt stages in a row
- Executing the flow would result to the fields not getting cleared from the previous prompt stage
Expected behavior Fields should be empty if the initial value set in the prompt is also empty regardless of the prompts before the current stage.
Screenshots
As an example, in my flow, here is my first stage:
For context, the given name prompt is a text field with the following config:
The next stage is another prompt stage and the given name prompt value is copied over to the username prompt:
The admin username prompt has the following config:
Logs I doubt the logs would help much as this is a frontend issue but let me know otherwise.
Version and Deployment (please complete the following information):
- authentik version: 2024.6.3
- Deployment: helm
Additional context The flow itself is working as I intend it to be. It's just a bad UX needing to clear the fields manually every time.