7,757 questions
0
votes
1
answer
65
views
button to open modal - load one image at a time
I have written this page (using DataTables, PHP and Bootstrap 5.3).
As you can see, in each row of the table I placed a button which triggers a modal, containing a responsive image (all the images are ...
1
vote
0
answers
62
views
Livewire 3 and Alpine.js Wizard: Unexpected Token '}' Error in Alpine Expression: "$wire."
I'm building a wizard in my Laravel project using Livewire 3 and Alpine.js 3.4.2. The main wizard and each step are Livewire components. Everything works well until I click the "Save" button ...
1
vote
1
answer
39
views
How to prevent scroll move when multiple Bootstrap modal is opened
Modal1 is long enough to traverse the screen.
If I scroll Modal1 down and show Modal2, Modal1's scroll will unintentionally move to the top.
After that, if Modal2 is shown, the scroll of Modal1 will ...
0
votes
1
answer
36
views
Second Button for Opening Modal Not Responding on First Click and It Not Closing Properly
I’m working on a project where users need to sign a form using a signature pad. The form requires three separate signatures, and I have implemented three buttons to open modals for the signature pad. ...
0
votes
0
answers
13
views
Using a syncfusion ejs-dropdownlist inside a bootstrap modal
I have a ejs-dropdownlist component inside a bootstrap modal but the bs.focustrap handler is preventing the user from typing into the filter textbox in the dropdownlist.
The dropdownlist opens and you ...
0
votes
2
answers
62
views
Laravel 11 delete item with Bootstrap 5 modal - response is string, not object
web.php:
Route::delete('/roles/{id}/delete', [RoleController::class, 'delete'])->name('roles.delete');
RoleController.php:
public function delete($id): string
{
$data = [
'id' =...
0
votes
0
answers
32
views
Modal Not Displaying When Button Is Clicked in ASP.NET Web Forms
I am working on an ASP.NET Web Forms application where I have a GridView and a button for each row that should open a modal when clicked. However, the modal is not opening when I click the edit button....
0
votes
0
answers
7
views
How to show tthe last form in a modal?
<!-- Modal login -->
<div class="modal login fade" id="loginModal" tabindex="-1" role="dialog" aria-labelledby="loginModalLabel" aria-hidden=&...
0
votes
1
answer
29
views
React Bootstrap modal inside map function eliminates background and appears twice
I am using a map function to create a list with fetched data. I want to make one cell a clickable button that makes modal appear with the text from the object's "about" property inside that ...
0
votes
0
answers
12
views
Subscribe form as part of a login modal not opening
<div class="modal login fade" id="loginModal" tabindex="-1" role="dialog" aria-labelledby="loginModalLabel" aria-hidden="true">
<...
1
vote
1
answer
27
views
Can't edit the category by id, after creating the category on the same modal by one Upsert Action in Asp.net MVC
The problem is after successful creation, when I hover the Edit button, the link is correctly showing but when I click on the Edit button it is showing Add New Category that means create feature, ...
-1
votes
1
answer
33
views
Make bootstrap modal footer button align side by side
I want the buttons to be side by side at right but the form seem to take too much of space.
the red box is the form container
<div class="modal-footer">
<button type="button&...
1
vote
1
answer
81
views
The clear button overlaps the placeholder
My clear button overlaps the placeholder:
Have you ever had this problem?
I'm using the bootstrap5 theme for select2.
Everything else works.
It's just this button that's causing the problem.
Thanks.
...
0
votes
1
answer
105
views
Select2 is shown twice when opening modal the first time
I have the modal where this modal show the content dynamically by using js. the modal html is like this:
<button type="button" class="openModalBtn btn btn-outline btn-primary btn-sm ...
1
vote
0
answers
44
views
Page reloads instead of displaying modal for Edit, Details, and Delete actions
I’m working with an ASP.NET MVC project where I've used Entity Framework to generate CRUD actions for a Student controller. The HomeController handles the main view (Index), which displays a paginated ...