5 comments found.
If you want, I will update bootstrap 4 to bootstrap 5 this item. After work pay me.
I’m using ui-bootstrap-tpls and not show the modal.
$scope.openModalUser = function (userId) {
var modalInstance = $uibModal.open({
animation: true,
templateUrl: 'view/seguranca/seguranca.usuarios.modal.html',
controller: 'UserModalCtrl',
resolve: {
profiles: function (profilesAPI) {
return profilesAPI.find();
}
, userId: userId
}
});
Hi,
Is this angular code?
yes
angular js e bootstrap
Hi Arthur,
I do not have knowledge on Angular JS.
how can I reuse the modal on more than one screen?
Right now you are not able to reuse the modal? Are you getting any error?
I can not. Modal works if the html is on the same page:
<button type=”button” class=”btn btn-info” data-toggle=”modal” data-target=”#customModal”>
Custom Modal
</button>
<!- Modal ->
.......
If add the button and import the modal html nothing happens.
<button type=”button” class=”btn btn-info” data-toggle=”modal” data-target=”#customModal”> Custom Modal </button> <link href=”modal.html” rel=”import” />
does not display an error, but the modal does not open.
Do you have any examples that this works?
My modal is a confirmation screen. I intend to use this html (modal) on many screens.
I can’t reuse the html (modal).
please, if possible, help me with an example where the html code of the modal is reused and not duplicated.
I tried to use the angular js, but it didn’t work.
Hi,
Since its a static HTML I have never tried importing HTML. I will check and let you know.
Thanks.
ok, another thing, have select multiple? I add and don’t show efecct on mouse over thanks for attention
Wow nice work…best of luck with sales
Thank You 
Adorable job done by you …. Congratulations! Good Luck with Sale 
Thank You 
Congratulations! Nice Work, GLWS 
Thank You 