question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Blazor with maui can not use <InputSelect> or <select>

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:17 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
SteveSandersonMScommented, Feb 8, 2022

@Laftek MAUI only uses WebView2 on Windows, so a WebView2 bug wouldn’t affect macOS/iOS/Android.

1reaction
v-xiaofchencommented, Feb 24, 2022

Not reproducible with 17.2.0 Preview 2.0 [32209.335.main] using Windows.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Maui Blazor input dropdown list not accepting input value
I am using a searchable dropdown list to input values into a .net maui android app. The dropdown works but when the selection...
Read more >
What's Coming for Blazor Hybrid in .NET 7
The one closed issue, meanwhile, is "Blazor with maui can not use <InputSelect> or <select>," which was identified as a WebView2 bug and ......
Read more >
How can I bind a drop-down list in Blazor WebAssembly?
We can bind a drop-down list in Blazor WebAssembly using the <select> tag and bind the values to the drop-down list using the...
Read more >
ASP.NET Core Blazor forms and input components
A form is defined using the Blazor framework's EditForm component. ... Multiple option selection with the InputSelect component.
Read more >
InputSelect component for enumerations in Blazor
In this post, we'll create something even easier to use. The component InputSelect allows binding a property of type Enum. However, you need...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found