Lorem ipsum dolor sit amet consectetur adipisicing elit. Facere mollitia qui aut. Molestias explicabo autem veniam doloribus doloremque numquam odit rem sapiente natus ipsam temporibus voluptates, ab mollitia repellat! Itaque.
If you want to have <input readonly>
elements in your form
styled as plain text, use the .form-control-plaintext
class to
remove the default form field styling and preserve the correct margin and
padding.
If any form parent is hidden, after displaying it, update the input to recalculate the width of the label using the following code:
document.querySelectorAll('.form-outline').forEach((formOutline) => { new
mdb.Input(formOutline).update(); })
Example helper
var myModal = new bootstrap.Modal(document.getElementById('myModal'), options)
Name | Type | Default | Description |
---|---|---|---|
tag |
String | 'button' |
Changes button tag |
Name | Description | Example |
---|---|---|
toggle |
Manually toggles a modal | myModal.toggle() |
Name | Description |
---|---|
show.bs.modal
|
This event fires immediately when the show instance method is called. If caused by a click, the clicked element is available as the relatedTarget property of the event. |