Multiple Bootstrap Modals with Forms not Responding - html

I'm using three bootstrap modals with identical html forms in each, with the exception of the PayPal button ID.
For some reason, on the live site I cannot type in the forms in modal 1 or 2 unless I've clicked on modal 3 and clicked in one of the text boxes. But the buttons at the end of each form work fine with or without the textboxes working.
(& It's the same for Chrome, Mozilla and IE.)
Any suggestions?
Located at:
http://mytravelagentportal.com/deluxe/test/

Maybe it's because modal 2 doesn't have style="display: none;", it's just have opacity: 0, and you can't click on elements behind it (modal 1). And because of this you can't click on button 2, it's also behind hidden modal 2

Bootstrap does not support multiple modals, so I wrote some javascript to switch out the button value for paypal and used one modal. Code can be seen at the same link.
This alternative was cleaner than using the three different modals anyways.

Related

implement segment button using html, css and bootstrap

I need to implement a segment button using only HTML, CSS and bootstrap as shown in the below picture. many people confuse between toggle and segment buttons. toggle-button toggles between on-click but the segment button can have multiple buttons and will toggle only on clicking the particular button. In my case, I need to implement only 2 buttons within 1 segment button. if my statement confuses, please follow the link and there is an example. any help is appreciated. thank you.
In Bootstrap, this feature is called "Button-Group", check this Reference: https://getbootstrap.com/docs/4.0/components/button-group/
You can style your Button-Group as you desire - if you want to e.g. put icons in it, just replace the text in the example ("left/middle/right") with an icon

Ionic 4 App click event inside DIV not being fired sometimes

In the first tab of an Ionic 4 app, a ngx-gauge is shown with some data from server.
Below the gauge, some divs are displayed. Each of those div have a (click) function.
The three divs on the bottom work fine. However, the three first divs (CO2, PM2,5 and PM10) are not working properly... To activate the (click) event of those 3 divs you might have to click several times, while to activate the (click) event of the other 3 divs below (TVOC, Temperature, and Humidity) one click is working fine.
The version of the ngx-gauge is:
ngx-gauge#1.0.0-beta.10
If I separate the gauge and the divs with many <br>, all the 6 divs are working fine with only 1 click.
Any idea of how to solve this problem?

Dropdown form overlaps in boostrap 3

I'm trying to implement a dropdown with an input but whenever I try to click the dropdown, it overlaps to the other row of the table since the inputs are inside the table. Please see my screenshot below.
Screenshot:
Note: This is pure bootstrap 3, and didn't add any customization yet.

In Bootstrap Modal Popup Tab order not moving to Datatable Header?

In Bootstrap Modal Popup Tab order not moving to Datatable Header?
Without Datatable ,In modal popup shift+tab order is going out of the popup dialog. It needs to be inside of the Modal dialog.
Check this fiddle, try adding tabindex to the modal element
All of the answers and comments are wrong in here. This "bug" is also occurs in antd-Modal. Somehow, shift+tab combination goes outside of the modal and you can select and type(in input elements for example) everything behind the modal.
For now, seems like there is no fix for this.

How to have radio button behaviour for divs while using angular?

So I'm starting with angular and I would like filter a list depending on which div is currently selected.
They are selected by being cliked. I suppose this is exactly how radio buttons behave but they are ugly and I would like to have a completely designed div (not just label) which is to be clicked.
I've read that you can add label with for attribute and hide the radio button to have something similar. I suppose what I would like is to be able to add for on a div to bind it.
What would be the best way to achieve this The Angular Way ?
You will find your solution at angular ui bootstrap goto buttons sections