vikramlearning / blazorbootstrap

An Enterprise-class Blazor Bootstrap Component library built on the Blazor and Bootstrap CSS frameworks.
https://docs.blazorbootstrap.com/
Apache License 2.0
670 stars 32 forks source link

Modal: Dynamic Header and Footer? #403

Open christopherdude opened 11 months ago

christopherdude commented 11 months ago

When following the example for a dynamic Modal, there doesn't seem to be a way to allow the component which implements the contents of the BodyTemplate in order to facilitate dynamic content in the header. In other words, you've provided a great way to use components to replace the BodyTemplate. Is there a way in which that component can also dynamically alter the HeaderTemplate or FooterTemplate?

gvreddy04 commented 11 months ago

@christopherdude Thank you for trying BlazorBootstrap components. At this moment, dynamic header and dynamic footer are not supported. This will be added as an enhancement in the next release. Please also share how you want to use the dynamic footer in your project so that we can keep your scenario in mind while adding this feature.