maui: Blazor with maui can not use or
Description
1,when I write this code:
<InputSelect>
<option value="0">test</option>
<InputSelect>
the application print “An unhandled error has occurred.”
2,When I try to use <select> label in the page, It is dosen’t work.
Steps to Reproduce
1,Open a page
2,Add the Select like:
<InputSelect>
<option value="0">test</option>
<InputSelect>
or
<select>
<option value="0">test</option>
<select>
They are dosen’t work
Version with bug
Preview 12 (current)
Last version that worked well
Unknown/Other
Affected platforms
I was not able test on other platforms
Affected platform versions
10.0.19041.0
Did you find any workaround?
none
Relevant log output
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 17 (7 by maintainers)
@Laftek MAUI only uses WebView2 on Windows, so a WebView2 bug wouldn’t affect macOS/iOS/Android.
Not reproducible with 17.2.0 Preview 2.0 [32209.335.main] using Windows.
@TanayParikh if the only “active” issue in this thread is the dropdown that disappears on WinUI, then I recommend closing this issue because there’s no action to take. We have email threads with the WebView2 folks on the dropdown issue so it’s not getting forgotten.
Only a bug with WebView2 specifically on WinUI, which is what .NET MAUI uses. It doesn’t affect WebView2 for WinForms and WPF apps.