authentik icon indicating copy to clipboard operation
authentik copied to clipboard

Text fields are not cleared across multiple prompt stages

Open sonroyaalmerol opened this issue 1 year ago • 0 comments

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:

  1. Create an enrollment flow
  2. Create text prompts
  3. Assign those prompts to multiple prompt stages in a row
  4. 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: image

For context, the given name prompt is a text field with the following config: image

The next stage is another prompt stage and the given name prompt value is copied over to the username prompt: image

The admin username prompt has the following config: image

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.

sonroyaalmerol avatar Aug 09 '24 12:08 sonroyaalmerol