Topic: Popover Pass Context and variable for ng-template(to generate dynamic content)

raphael_tec360 premium asked 1 year ago


Expected behavior The popover Should support passing variables to ng-template

a tabindex="0" class="fas fa-info-circle" [mdbPopover]="template123;context:data" trigger="focus">

ng-template #template123 let-data="data"> {{data.property1}},{{data.property2}},{{data.property3}} /ng-template>

Actual behavior

Such functionality not available Resources (screenshots, code snippets etc.)


Arkadiusz Idzikowski staff commented 1 year ago

We will take a closer look at that and see what we can do to add support for such a use case.


Arkadiusz Idzikowski staff answered 5 months ago


We added this feature in v5.1.0. You can find more information about usage in the Popover documentation: https://mdbootstrap.com/docs/angular/components/popovers/#section-custom-template



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue

  • ForumUser: Premium
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: MDB5 3.0.0
  • Device: Desktop
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No