Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Modal Dynamic DOM not working

Daniele Web priority asked 5 years ago


Hi, my problem occurs when i try to dynamize the DOM of a modal with angularJs. I expect that my JSON's value will be shown, instead it will be ignored. $scope.dataEditOwnerList it correctly contains the JSON, and outside the modal the values are correctly displayed. Arrive.js is load into js fotter section. enter image description here Here a code fragment:

      <!--Header-->
      <div class="modal-header light-blue darken-3 white-text">
        <h4 class="title"><i class="fas fa-info-alt"></i> Risk Name</h4>
        <button type="button" class="close waves-effect waves-light" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">×</span>
        </button>
      </div>
      <!--Header-->


      <div class="modal-body">
        <!--Body-->

        {{dataEditOwnerList}}

        <div class="row">
            <h5 class="h5-responsive product-name">
              <strong>Company: {{dataEditOwnerList.company.companyName}}</strong>
            </h5>
        </div>
        <div class="row">
            <h5 class="h5-responsive product-name">
              <strong>Department: {{dataEditOwnerList.company.companyName}}</strong>
            </h5>
        </div>
        <div class="row">
            <h5 class="h5-responsive product-name">
              <strong>Response Status: {{dataEditOwnerList.company.companyName}}</strong>
            </h5>
        </div>
        <div class="row">
            <h5 class="h5-responsive product-name">
              <strong>Impact: {{dataEditOwnerList.company.companyName}}</strong>
            </h5>
        </div>
        <div class="row">
            <h5 class="h5-responsive product-name">
              <strong>Likelihood: {{dataEditOwnerList.company.companyName}}</strong>
            </h5>
        </div>

Bartłomiej Malanowski staff commented 5 years ago

Currently, we don't support AngularJS. You can still use MDB with AngularJS as many users do, but we cannot provide you a solution at this moment



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB jQuery
  • MDB Version: 4.11.0
  • Device: PC
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No