Skip to content
This repository has been archived by the owner on May 16, 2020. It is now read-only.

Bug: shows validation errors on second step after next button on first step #4

Closed
4n70w4 opened this issue Jan 20, 2020 · 3 comments
Closed
Labels
bug Something isn't working resolved

Comments

@4n70w4
Copy link

4n70w4 commented Jan 20, 2020

image
image

@zareismail zareismail added the more-info Need more information label Jan 21, 2020
@zareismail zareismail reopened this Jan 21, 2020
@zareismail
Copy link
Contributor

Hey!

I think that there is a field with the same attribute on the second step.
Can you display your fields to me?

@4n70w4
Copy link
Author

4n70w4 commented Jan 21, 2020

Yes, is a field with the same attribute on the second step.

And yes, I expect that in the second step in the field with the same attribute will be displayed the data filled from the field in the first step with the same attribute.

            Step::make('Step One', [
                Text::make(__('INN'), 'inn')->hideFromIndex(),
            ]),

            Step::make('Step Two', [
                Text::make(__('INN'), 'inn')->readonly()->hideFromIndex(),
                Text::make(__('Title'), function () use($organization) {
                    return $organization ? $organization->title : null;
                })->readonly()->hideFromIndex(),

                Text::make(__('email'), 'email')->rules('required')->hideFromIndex(),
            ]),

@zareismail zareismail added bug Something isn't working and removed more-info Need more information labels Jan 21, 2020
@zareismail
Copy link
Contributor

please upgrade to version 0.1.1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working resolved
Projects
None yet
Development

No branches or pull requests

2 participants