How we can inject the laravel blade translation from js?

|
simhaglobal 2022-06-07 14:54:03
Both Options are open send cv by email
N_Ibrokhim 2022-06-07 14:56:52
laravel_discuss-124119.jpg
hi everybody. I had a question. I have a multi-step form, and I want that when the user accidentally closes the browser or interrupts the filling for other reasons, he can continue and the data entered before is saved. Like here in the figure.How i can do it?
Rahul Kahar 2022-06-07 14:58:03
N_Ibrokhim 2022-06-07 14:56:52
hi everybody. I had a question. I have a multi-step form, and I want that when the user accidentally closes the browser or interrupts the filling for other reasons, he can continue and the data entered before is saved. Like here in the figure.How i can do it?

User login available?

Rahul Kahar 2022-06-07 14:58:35
simhaglobal 2022-06-07 14:54:03
Both Options are open send cv by email

Minimum salary?

N_Ibrokhim 2022-06-07 14:59:38
Rahul Kahar 2022-06-07 14:58:03
User login available?

yea

Rahul Kahar 2022-06-07 15:02:12
N_Ibrokhim 2022-06-07 14:59:38
yea

Then save data on every step

Siva 2022-06-07 15:55:45
laravel_discuss-124127.jpg
Anyone know this error?
Siva 2022-06-07 15:56:06
laravel_discuss-124128.jpg

Siva 2022-06-07 15:56:37
laravel_discuss-124129.jpg

Rahul Kahar 2022-06-07 15:58:47
Siva 2022-06-07 15:55:45
Anyone know this error?

Database not properly connected

Rahul Kahar 2022-06-07 15:58:59
Check properly
. . 2022-06-07 17:49:49
laravel_discuss-124137.jpg
I want it to return the username and picture for the users with id 1 5 8 but it only returns the data for the user with id=1
. . 2022-06-07 17:51:12
Should you use for?!
e_yavgel 2022-06-07 17:54:06
. . 2022-06-07 17:49:49
I want it to return the username and picture for the users with id 1 5 8 but it only returns the data for the user with id=1

User::whereIn(‘id’, $friends_ids)->…

Amit Sharma 2022-06-07 17:57:01
anyone pls help what i am missing there
Amit Sharma 2022-06-07 17:57:48
i have 2 models having relationship belongsTo() and hasMany()
Amit Sharma 2022-06-07 17:58:29
and i am getting data from that like
Amit Sharma 2022-06-07 17:59:04
laravel_discuss-124144.jpg
this is my first modal
Amit Sharma 2022-06-07 17:59:31
laravel_discuss-124145.jpg
second one is
Amit Sharma 2022-06-07 18:01:01
laravel_discuss-124146.jpg
this is my view in which {{ $item->reply }} we give me all data like
Amit Sharma 2022-06-07 18:01:38
laravel_discuss-124147.jpg

Amit Sharma 2022-06-07 18:02:04
but i want only reply from this data
Amit Sharma 2022-06-07 18:02:29
what to do for ? anyone
Amit Sharma 2022-06-07 18:04:49
when i was tring to fetch any thing from that [{}] like {{ $item->reply->id }} or any thing
rahulkashyap2631 2022-06-07 18:05:47
Any laravel trainer here?
Amit Sharma 2022-06-07 18:05:51
it show’s me error like instance not exist
Amit Sharma 2022-06-07 18:06:16
laravel_discuss-124153.jpg

e_yavgel 2022-06-07 18:25:30
Amit Sharma 2022-06-07 18:06:16

try {{ dd($item->reply) }} and you see that it return an object not a property You need $item->reply->name (or something like that) OR there are no id in tamle for AppNcReply

Go 2022-06-07 18:28:55
rahulkashyap2631 2022-06-07 18:05:47
Any laravel trainer here?

Yes

#Math 2022-06-07 18:29:19
How we can inject the laravel blade translation from js?
#Math 2022-06-07 18:29:29
who tried?
khan 2022-06-07 18:47:18
Have any vacancy for QA fresher
Amit Sharma 2022-06-07 18:52:42
e_yavgel 2022-06-07 18:25:30
try {{ dd($item->reply) }} and you see that it return an object not a property You need $item->reply->name (or something like that) OR there are no id in tamle for AppNcReply

if there is multiple record then it will give me only first record

Amit Sharma 2022-06-07 18:55:40
i need $item->reply->id
segungreat 2022-06-07 18:56:31
#Math 2022-06-07 18:29:19
How we can inject the laravel blade translation from js?

Do you mean you want to use laravel translation in your JS file

|