Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Dropdown list is not working in the Asp.net Blazor Component

$
0
0

I am trying to learn the new feature in ASP.NET Blazor. I am using Visual Studio 2019. I am trying to create an Ideas Registration form. So the code for dropdownlist i had took from Bootstrap 4. It was not working as expected. Can you please tell me where i am working wrong?

Just a little overwhelmed here, any advice would be much appreciated.

Given Code:

<!-- Card Body --><div class="card-body"><!-- <form   --><form><div class="form-group"><label for="exampleFormControlInput1">Title</label><input type="email" class="form-control" id="exampleFormControlInput1"></div><div class="form-group"><label for="exampleFormControlSelect1">Description</label><textarea class="form-control" id="exampleFormControlTextarea1" rows="4"></textarea></div><!-- Basic dropdown --><div class="form-group"><button class="btn btn-primary dropdown-toggle mr-4" type="button" data-toggle="dropdown"                aria-haspopup="true" aria-expanded="false">            Basic dropdown</button><div class="dropdown-menu"><a class="dropdown-item" href="#">.Net</a><a class="dropdown-item" href="#">Python</a><a class="dropdown-item" href="#">Data Science</a><div class="dropdown-divider"></div></div></div><!-- Basic dropdown -->

Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>