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

Using Form request validation for Nova resource #106

Closed
peanut24 opened this Issue Aug 24, 2018 · 4 comments

Comments

Projects
None yet
5 participants
@peanut24
Copy link

peanut24 commented Aug 24, 2018

I have existing form request validation classes that I'm using for storing a user for instance, is it possible to reuse these in my Nova resource, or do you have to specify the validation rules per field? I can't find reference to this in the documentation for Nova.

Thanks

@stevelacey

This comment has been minimized.

Copy link

stevelacey commented Sep 4, 2018

Also would make it possible to validate arrays, which I am not sure is possible via the validation rules per field implementation

@davidhemphill

This comment has been minimized.

Copy link
Contributor

davidhemphill commented Oct 26, 2018

This is not currently supported.

@fbingha

This comment has been minimized.

Copy link

fbingha commented Nov 7, 2018

Is this planned?

@yehudahkay

This comment has been minimized.

Copy link

yehudahkay commented Mar 6, 2019

You can add a rules array on either the model or form request and then reference it in the nova controller, it would be nice if this would work automatically though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.