JaysonFurr free asked 3 years ago


Expected behavior In Blazor, when rendering a form, the form controls should render with a border and MDB should initialize. Actual behavior In Blazor, when rendering a form, the form controls initialize quickly then loose their styles and event bindings for MDB. Resources (screenshots, code snippets etc.) I have found a workaround by calling JavaScript to remove the script element and re add it back to the DOM during OnAfterRenderAsync. This causes MDB to reinitialize and works. This may not work well when there are multiple renders back to back and may slow down the framework substantially. Is there a way to cause MDB to reinitialize or rescan the DOM manually without a complete reload?


Grzegorz Bujański staff commented 3 years ago

Do you use the integration prepared by us or have you configured it on your own?



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: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: 3.2.0
  • Device: All
  • Browser: All
  • OS: All
  • Provided sample code: No
  • Provided link: No