Skip to content

Tag: laravel

How to get last value of an array input text in JS?

This is my code from controller where I used looping to show this. the sample data of this are multiple dates: 2019-05-28 13:45:45 Now I’m trying the get the last date that will be shown using JavaScript. Currently I have this code: But this only gets the array of input types So I tried to use last() an…

Laravel old method not returning password values

I’m currently learning Laravel and I’m creating a register form. When the form has errors I want to repopulate the input fields with their old values. My form looks like this: For readibility I removed all labels, classes and ids from the input files. It looks like Laravel doesn’t ‘wan…

Illuminate Broadcasting BroadcastException No message

I’m using Laravel websocket written by beyoundcode. After couple of days, I’ve connected to myDomain.com/laravel-websockets and first step solved. But now, when I trigger an event, laravel has error at this point: this is my stacktrace screenshot: I read these questions and issues but nothing work…