Sounds dumb but I can’t find a way to pass a variable data defined in the href: ComponentFile.vue I tried all of those: What is the correct way? Thanks! Answer You’ve defined data() as a function, but it isn’t returning anything. It should return an object with the data like so: Then either of these will work: EDIT FOR VUE
Tag: laravel
DropzoneJS & Laravel – Output form validation errors
I am trying to output form validation errors when you hover over the “X” in the dropped off file in Dropzone. What I get: How can I make the object Object output the actual error message from the form validation? I can alert the error message but can’t actually show the error message upon hovering over the x. My js
Laravel 5 Validation – Return as json / ajax
I am trying to post the values into validation and return the response as json rather than return view as given in the documentation. The post is made by ajax so I need to receive the response in the ajax as well. I figured out that in order to prevent refresh of the page in the returning response, I have