Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the saved page path state when building the page condition drop down #699

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

davidjamesstone
Copy link
Contributor

@davidjamesstone davidjamesstone commented Feb 10, 2025

The <SelectConditions path={path} component renders a select element with a list of conditions to choose from. It takes in a path attribute which is used to filter out conditions from the list that are not revelent to the current page (because the condition is dependent on questions further on in the journey).

This fix uses the path from the saved state, not the one in the form.

@davidjamesstone davidjamesstone merged commit 9bc5652 into main Feb 10, 2025
12 checks passed
@davidjamesstone davidjamesstone deleted the fix/507079-edit-page-path-bug-in-v2 branch February 10, 2025 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants