Skip to content

Conversation

DanielJDufour
Copy link
Collaborator

@DanielJDufour DanielJDufour commented Mar 24, 2025

finalStep wasn't being recomputed but the number of steps is dynamic, changing based on what was selected in previous steps. For example, if you select that a building exists, additional steps will be added. Without the fix, the "send" button will be shown earlier than expected and not allow you to reach the final steps.

I have verified this PR works in these browsers (latest versions):

  • Chrome
  • Firefox
  • Safari (macOS)
  • Safari (iOS)
  • Not applicable

What else has been done to verify that this works as intended?

I'm working on fmtm, so I've used this new code in fmtm to verify that it works

Why is this the best possible solution? Were any other approaches considered?

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

Do we need any specific form for testing your changes? If so, please attach one.

What's changed

@DanielJDufour DanielJDufour marked this pull request as ready for review March 24, 2025 11:52
@spwoodcock
Copy link
Member

Nice, thanks 😃

Could this also be added to the PR here too?

getodk#329

(probably good to set the base of this PR to that linked branch, then we can merge in that branch to the fmtm branch after)

@DanielJDufour
Copy link
Collaborator Author

@spwoodcock , sounds good. I'll close this PR and added to the existing branch. Good catch!

@DanielJDufour DanielJDufour mentioned this pull request Mar 26, 2025
5 tasks
@spwoodcock spwoodcock deleted the fmtm-stepper-fix branch March 26, 2025 13:39
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