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

when using removeStep(index) the next button was gone #104

Closed
Amin-Said opened this issue Jul 2, 2021 · 4 comments
Closed

when using removeStep(index) the next button was gone #104

Amin-Said opened this issue Jul 2, 2021 · 4 comments

Comments

@Amin-Said
Copy link

I'm trying to use dynamic removing feature on steps by removeStep(index) and it works and the step was removed but it affects the next button on each step which was gone after using it.

@Andy3189
Copy link

The issue is related to a faulty check in StepHelper.java in Line 233,

if (formStyle.displayNextButtonInLastStep && isLast) {
    String nextButtonText = formStyle.lastStepNextButtonText == null
            ? "" : formStyle.lastStepNextButtonText;
    nextButtonView.setText(nextButtonText);
    nextButtonView.setVisibility(View.VISIBLE);
} else {
    nextButtonView.setVisibility(View.GONE);
}

This Line will hide the next button on any Step, that is not the last one inside the form.
@ernestoyaquello

@m-melis
Copy link

m-melis commented Dec 20, 2021

Please fix this when possible, thanks :)

@ernestoyaquello
Copy link
Owner

Sorry about the delay, and thanks for letting me know! I am hoping to publish a new version with a fix soon.

@ernestoyaquello
Copy link
Owner

Fixed in the release 2.6.0.

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

No branches or pull requests

4 participants