Skip to content
Discussion options

You must be logged in to vote

@cj-fbr You can disable the whole repeatable using the CRUD JS API.

crud.field('things').disable() (you can test it in the browser console and then move it to a file if it does what you want).

But if you want to ensure your field is not saved (even if user modify html attributes), you should overwrite the store() or update() functions and remove it from the request.

Alternatively you can use a FormRequest and exclude that field from the request after validation.

Cheers

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@cj-fbr
Comment options

Comment options

You must be logged in to vote
1 reply
@cj-fbr
Comment options

Answer selected by cj-fbr
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants