Category : modal-dialog

In our Angular 8 project, we have a container component for user registration (user.registartion). Also, we have a reusable component for updating the user information (user.component). Both components has to show a ‘user policy’ pop-up which is also a reusable component (policy.component). The following picture shows my project structure. But I can’t show the Policy ..

Read more

i’m new here and i have problem with my project. I used template "Landed" https://html5up.net/landed – i modyfing it, and i have problem with adding a functionality: full size modal for images. I tried to add this code by @snowMonkey https://jsfiddle.net/snowMonkey/f1zav0ge/ I asked my friends, but they dont know what to do. I tired many ..

Read more

I have a text box in modal after inserting text and closing the box without clicking save in the reopened still listed the initial text entered before <input type="text" id="fname" name="fname" autocomplete="off" maxlength="32" ref={inputFocusRef} onChange={(event) => function(event)} <Button type="primary" onClick={() => { saveInputTextInDb(); setFullView(false); }}>save</Button> /> For example I put in the text box "Hello ..

Read more

I have a modal popup like below <script type="text/ng-template" id="myTestModal.tmpl.html"> <div class="modal-header"> <h3>Warning!</h3> </div> <div class="modal-body"> <p>You have unsaved data. Continue to close?</p> </div> <div class="modal-footer"> <button type="button" class="btn btn-danger" ng-click="close(true)" data-dismiss="modal">Yes </button> <button type="button" class="btn btn-success" ng-click="close(false)">No </button> </div> </script>`enter code here then in js file i have, vm.openModal = function(){ $scope.modalInstance = $modal.open({ ..

Read more