I’m a beginner in using laravel, please help. I’m using sweet alert to ask for confirmation before deleting. The error says that it is missing a required parameter for destroy, though I am certainly sure that I am passing an id to the function destroy. Here’s my code Announcement.blade.php delete_script.blade.php destroy function in AnnouncementsController.php Route The error is this: Missing
Tag: laravelcollective
Whitespace not caught by Laravel validation
I’m trying to validate a password input field, and spaces are not getting caught by the validator. The password field should be a minimum of 6 characters, and the regex should allow spaces within a password, but not at the beginning or end (I’ve confirmed that this works outside of the validator). When a user enters in 1+ spaces into