Positioning the modal window in Laravel and Vue

I use larevel and vue. Call modal window: <div class=”newmessagemodalclass”> <newmessagemodal v-if=”showNemMessageModal” :event=”event” @closeNewMessageAlert=”closeNewMessageAlert()”></newmessagemodal> </div> I’m trying to put in the lower right corner. <style scoped> .newmessagemodalclass { position: absolute !important; top: -100px !important; left: -100px !important; background-color: yellow !important; } </style> How to position this element (“newmessagemodalclass”)?

Laravel data dependent on selected dropdown

Been trying to dynamically change the value of an input field depending on the product selected from a dropdown menu for an hour now and I can’t seem to figure out how. This is how I populate the products: <select name=”product_id” v-model=”form.product_id” id=”product_id” class=”form-control” :class=”{‘is-invalid’: form.errors.has(‘product_id’) }”> <option v-for=”product in products” :value=”product.product_id”></option> </select> and this…

laravel download response filename not changing

I am using laravel and trying to download a file and change the filename. The documentation tells me that I can use the second argument as the new filename, but the filename won’t change to “testdownload.zip” somehow. What am I doing wrong? https://laravel.com/docs/5.8/responses#file-downloads return response()->download(storage_path(‘app/lorem-ipsum-shop-1.zip’), ‘testdownload.zip’, [‘Content-Type: application/zip’]); When I do dd(response()->download(storage_path(‘app/lorem-ipsum-shop-1.zip’), ‘testdownload.zip’, [‘Content-Type: application/zip’]))…

Laravel data dependent on selected dropdown

Been trying to dynamically change the value of an input field depending on the product selected from a dropdown menu for an hour now and I can’t seem to figure out how. This is how I populate the products: <select name=”product_id” v-model=”form.product_id” id=”product_id” class=”form-control” :class=”{‘is-invalid’: form.errors.has(‘product_id’) }”> <option v-for=”product in products” :value=”product.product_id”></option> </select> and this…