How to disable hiding of a modal window?

Use a small modal window:
<!-- Modal window -->
<div class="modal fade" id="modalUserName" tabindex="-1" role="dialog" 
 aria-labelledby="exampleModalLabel" aria-hidden="true">
 <div class="modal-dialog" role="document">
 <div class="modal-content">
 <div class="modal-header">
 <h5 class="modal-title" id="exampleModalLabel">Respondent name</h5>
</div>
 <div class="modal-body">
<form>
 <div class="form-group">
 <label for="recipient-name" class="col-form-label">Enter your name:</label>
 <input type="text" class="form-control" id="recipient-name">
 </div> 
</form>
</div>
 <div class="modal-footer"> 
 <button type="button" class="btn btn-primary disabled" disabled="disabled">
Continue
</button>
</div>
</div>
</div>
</div>


When you click outside the modal con - hides it.
Handling the click event somewhere in your code bootstrap'a how to disable hiding the window?
March 19th 20 at 08:58
1 answer
March 19th 20 at 09:00
Solution
In the documentation is:
<div class="modal fade" id="modalUserName" tabindex="-1" role="dialog" 
 aria-labelledby="exampleModalLabel" aria-hidden="true" data-backdrop="static" data-keyboard="false">
getbootstrap.ru/docs/v4-alpha/components/modal/#options
Yes, there is, but angel is not strong, and the translation is a little unclear. - cassie.Volkman commented on March 19th 20 at 09:03

Find more questions by tags BootstrapHTMLjQuery