skip to Main Content

Laravel – Inertia VueJS triggering the input file click event from a separate button

I am trying to trigger an event from button to input file. Below is the code <template> <div> <PrimaryButton type="button" :for="props.videoId" :disabled="uploading" @click="selectVideo" > Upload </PrimaryButton> <input :hidden="true" :ref="videoInput" :id="props.videoId" type="file" @change="handleVideoLoad" // for emits :disabled="uploading" /> </div> </template> <script…

VIEW QUESTION

Laravel – Resource Controller in edit not having data

my link to edit <a href="/dashboard/rejected/{{ $reject->id }}/edit" class="badge bg-danger">{{ $reject->status }}</a> my route Route::resource('/dashboard/rejected', RejectController::class); my controller public function edit(Reject $reject) { dd($reject); return view('dashboard.reject.edit',[ 'tittle' => 'Reject Stock', 'reject' => $reject ]); } $reject on my controller is…

VIEW QUESTION

Laravel Service Container Binding Primitives Not Working For Mailchimp

We have the following binding Primitives use NZTimMailchimpMailchimp; use ReCaptchaReCaptcha; class AppServiceProvider extends ServiceProvider { /** * Register any application services. */ public function register(): void { app()->when(Mailchimp::class) ->needs('$apikey') ->give(config('services.mailchimp.apikey')); app()->when(ReCaptcha::class) ->needs('$secret') ->give(config('services.recaptcha.secret')); } } Recaptcha is working. But with…

VIEW QUESTION
Back To Top
Search