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

Validation isn't showing (hasMany relationship) #51

Closed
rickdroce opened this issue May 7, 2019 · 1 comment
Closed

Validation isn't showing (hasMany relationship) #51

rickdroce opened this issue May 7, 2019 · 1 comment

Comments

@rickdroce
Copy link

Morning mate,
as for this one
I'm not able to see the validation error messages when I try to create the model without respecting the rules.

Resource:
NestedForm::make('HasManyRelation')->rules('required', 'min:1')->open(true)

Error in console:
{"message":"The given data was invalid.","errors":{"hasmanyrelation":["The hasmanyrelation field is required."]}}

@alberto-bottarini
Copy link
Collaborator

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

2 participants