You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The initializer is where functions like setData get registered, so this explains why the JS function that the table needs is not found.
This fluentui-blazor issue indicates that FAST or FluentUI controls also may use initializers, so there are likely to be other issues with controls in a BlazorWebView.
🔦 Context
We'd like to be able to use Nimble controls within existing .NET 6-based Desktop apps.
🌍 Your Environment
Windows 10.
WPF app using .NET 7.
The text was updated successfully, but these errors were encountered:
🐛 Bug Report
Controls such as the table don't work within a Windows
BlazorWebView
control.💻 Repro or Code Sample
Follow these steps to set up a Blazor Hybrid WPF app using a
BlazorWebView
.Setup the required references to use Nimble with Blazor.
Add a
NimbleTable
to theCounter.razor
file created during the previous steps.🤔 Expected Behavior
When running the app, the
NimbleTable
should render.😯 Current Behavior
The app crashes when rendering the
NimbleTable
because thesetData
JS function is not found.💁 Possible Solution
Nimble uses JavaScript Initializers to do some set up for Blazor. Based on this aspnetcore issue those files currently do not even get loaded by the
BlazorWebView
.The initializer is where functions like
setData
get registered, so this explains why the JS function that the table needs is not found.This fluentui-blazor issue indicates that FAST or FluentUI controls also may use initializers, so there are likely to be other issues with controls in a
BlazorWebView
.🔦 Context
We'd like to be able to use Nimble controls within existing .NET 6-based Desktop apps.
🌍 Your Environment
The text was updated successfully, but these errors were encountered: