AlexJ123 AlexJ123
12
I'm looking for a way to post data in Inertia but failing so far to parse ID param. This is my current controller. Route::get('/post/edit/{id}', [PostController::class, 'postEdit']) ->name('postEdit'); Because ID is in the middle, I'm not sure how...
Gabotronix Gabotronix
1
Hi everybody, I have a multi-step form and in the top header I want to show some kind if breadcumbs, I'm trying to make it so between each breadcumb there's a line but currently I can only show a line for the last case in my condition (in this case,...
Hi, I have classic carousel with arrow left and arrow right for scroll the images. I need to disable the mobile event swipe left and right (with finger) for my carousel; is that possibile with javascript (not css i supposed)? I need to scroll the ima...
I have implemented a theme switch (dark mode/light mode). But when i go from one page to the other it always flickers a bit before the right theme is shown. Anyone a suggestion on how to prevent it from flickering? I'm using this javascript and added...
Denason Denason
1
i want to send a request with jquery : in console i get this error : Access to XMLHttpRequest at 'http://127.0.0.1:8000/SendVerifySms' from origin 'https://onlinelift.ir' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is pr...
devhoussam123 devhoussam123
0
I'm using the Bootstrap slider plugin to create a Range Slider I want to build a range slider with two values like this example below : The result that I want to achieve : HTML : <form> <div class="d-flex justify-content-between"&...
janthoegersen janthoegersen
0
Hi there, I'm updating a Laravel site to use alpine. I want to follow the concept of DRY meaning almost all repeatable UI goes into blade components. <x-componen...>. It's all great and very clean.... however.... Now i'm trying to put my modals...
Gabotronix Gabotronix
2
Hi everybody, I have a react native app where I want to show the top part of device with brand color (blue in this case) but instead it shows transparent/grey and only the main body shows blue color, how can I make it so it also shows top colored blu...
Gabotronix Gabotronix
0
Hi everybody, I have an app made with react-native CLI, my version of RN is 0.63, I'm getting annoying moment.js warning like bellow: Require cycle: node_modules\moment\src\lib\create\local.js -> node_modules\moment\src\lib\create\from-anything.js...
Hi dev! I need help: I have a classic carousel with arrow next and arrow prev for the images; I need to change the event like a click, in an event for switch next or prev image. This: $('.next-arrow").click(function({ //Move the carousel to...
Gabotronix Gabotronix
1
Hi everybody, I have a react-native app created with RN CLI, using react-native 0.63, I'm trying to use SectionList but I'm getting the following error: undefined is not an object (evaluating '_this.props.updateCellsBatchingPeriod') Full error: htt...
KikoLdasd KikoLdasd
0
Hello, how I can to change the default market from google maps iframe? I write this but hes dont changed <script> <iframe src="--" width="600" heigh...
nathangibbs nathangibbs
1
Hello! I've recently been taking part in the development of our website at https://goldbee.com/. I have had less than a year of experience with javascript and website development and I would really appreciate your help. I'm trying to manipulate DOM m...
i want to auto submit form when visit page, but the following code is not working, plz any help <form method="post" onload="autoSubmit();" name="paymentForm" id="paymentForm" action="{{ $actionTo }}&quo...
Hey folks, I already have a modal and currently it's being used for storing data, how can I launch the same window/modal but now for updating my data? <script> var modal = document.getElementById("categoryModal");...
I have a small problem with detected a class and select only this class for my if/else if: <div class="my-class-1"> <div class="my-class-2"> <div> HOVER THIS CLASS 1</div> </div> </div>...
KikoLdasd KikoLdasd
2
Hi, how can the days that are not valid be marked in red? So far I've written this but I don't know what to do next const setUnavaibleDates = () => { $('.vanilla-calendar-date').each(function (e ,ee) { console....
Mubeenali Mubeenali
6
Hello i want to create an online tool in which users can create animated videos or edit the videos same as animaker.com.. I am searching but not getting what i need.. Please give me the dirction to gain this goal.. Which languge or which thing is pre...
azular23 azular23
0
Hi guys, I'm using Vue in a different port, laravel, Redis for broadcasting, and socket.io. Redis and laravel events works fine because I can get the message from the vue and it's firing my queued event as well but the thing is that socket.io client...
Gabotronix Gabotronix
0
Hi everybody, I just started developing with react native for the first time, it's a simple android app I created with react-native init command (not using expo this time). I'm trying to make a simple network request but for some reason it's not firi...
JoaoHamerski JoaoHamerski
3
getTodoById: state => id => { return state.todos.find(todo => todo.id === id); } I just cant understand what that double arrows "=>" means, i know what arrow functions are, but i found this and i just cant figure out, its f...
Veleous Veleous
9
I want to set the value of an input field with a click event and then submit my form. The problem I am encountering is that the AlpineJS is aware of the change in value before the DOM. So when I submit the form, I actually get the old value sent to t...
Gabotronix Gabotronix
0
Hi everybody, I'm relatively new to react native dev, suddenly I noticed my console logs are no longer showing and any code edits I do in VSCode are not automatically refreshed, I'm certain I enabled Fast Reload, and my console logs where appearing i...
IvanRadojevic IvanRadojevic
1
Why we use some multiselect jquery packages, when we can instead apply Alpine and Livewire. The values on the frontend are there, but how to conect to Livewire class? <select wire:model="selected" x-cloak id="select" multiple&g...
artisticre artisticre
2
I have this code and not sure why its not working Here is the script below is the entire basic page I made to show it in action. Its not toggling. <script> $("menu-toggle").click( function (e) { e.preventDefault(); $(&quo...
the-bing_man the-bing_man
0
Hey Laracast community! I've got a question regarding Vuex in a Laravel/Vue Project, that is also importing a custom Vue components library/package. I'd like to have our package export certain pieces of Vuex state (state, mutations, getters, etc) tha...
PaulMaxOS PaulMaxOS
0
Hey everyone, starting today I'm facing a strange issue on my frontend nuxt project. I believe this is not the place where nuxt is a very big thing, but since Vue is something fairly common to Laravel devs, i thought i could give it a try. So well, l...
mstdmstd mstdmstd
0
Hello, In my Laravel 8 app I use jQuery 3.5.1 and wonder if there is a way in case if login session was expired to catch this error in 1 place to make logout from the app? Thanks!...
Hi, I have function like this: test() $(window).resize(test) function test() { if($(window).width() < 700) { //load my function only for the view < 700px } //else -> return to my desktop view ($(window).width() > 700), and...
Gabotronix Gabotronix
0
Hi everybody, I'm trying to animate (slide down/up) a view containing a dynamic list, since that list is dynamic I don't know how to have an Animated.View with dynamic height, currently I use a fixed value in my code, which is very hacky. I'm a react...
hanif-king hanif-king
1
I searched through internet and unfortunately i came with nothing to solve what i am looking for . I have an application which deals with audios and videos , i want to create a button where the user could select a folder and then the application shou...
ponnydalen ponnydalen
0
Hello. Trying to make a table(html) with some data. I have this table with fake data so you could see how it is going to look like: https://i.imgur.com/ocpQp6q.png For this I need to use two tables(db) Booking, where the customer and his arrival tim...
Hi, I think it's all in the title :D. I can't find a way to hide a flash message after 3 seconds with Alpine. What I have so far: <div x-data="{ show: true }" x-show="show"> <div>...
Romain replied
Solved
Hello everyone, I found some weird things about javascript if(someVar) { // console.log('okay') //logs okay, even though someVar returned someVar is not defined error } let msg; if(msg) { // return false whereas actually type of msg is undefined c...
rishikeshdeveloper rishikeshdeveloper
0
I am using jquery form repeater js library for repeat html but when i am trying to add nested repeater then and add button of insider repeater then outer repeater also called and add on element of outer repeater <div id="m_repeater_3">...
Create a New Discussion Button