brecons / bootstrap-tag-helper Goto Github PK
View Code? Open in Web Editor NEWA free Tag Helper Library for Bootstrap (Version 4.x) - the world's most popular mobile-first and responsive front-end framework.
License: Apache License 2.0
A free Tag Helper Library for Bootstrap (Version 4.x) - the world's most popular mobile-first and responsive front-end framework.
License: Apache License 2.0
There is a button-dropdown, but not the link-dropdown that you see here:
Please, add it.
Bocons should also support netstandard1.6 in the next version
Hi, I have a model with this fields
public class EppEquipoViewModel
{
public int? Id { get; set; }
[DisplayName("Descripcion")]
public string Descripcion { get; set; }
...
and this is my template
<form method="post" autocomplete="off" bc-validation="true">
<form-group>
<input asp-for="Descripcion" type="text" bc-help="Ingrese el nombre del equipo" bc-size="Small" bc-required="true"/>
</form-group>
</form>
and this is what i get, i looks pretty good, but there is a problem with the generated html
the generated for
attribute in the label tag doesn't match with the input id, and this is a bad accessibility practice, this only happens on inputs that use the asp-for
tag helper.
The height style is incorrectly applied to the inner div (.progress-bar) rather than the outer div (.progress).
Your tag helpers use TagHelperContext to store things like the form context. However, using the TagHelperContext means that if you have a layout with the
tag with the @RenderBody inside and the content of the form in a View that use that layout, the form won't work.Unfortunately this is a very common scenario. The only way to change it is to use ViewContext.ViewData instead of the TagHelperContext for tag helper communication. You can see more information about it in this SO thread
There are any plan to implements built-in anchor tag helpers in <navbar-link>
Example for razor pages:
<navbar-link asp-page="/">Index</navbar-link>
Example for MVC:
<navbar-link asp-controller="Home" asp-action="Index">Index</navbar-link>
Regards
Please, add "div" to the RestrictedChildren of the form-group tag helper.
You can see that div is used inside form-group in the samples:
Tried to install the NuGet package into a .NET Core 3.1 project. NuGet tried to load several 2.x version packages, which would have likely broken the app. It looks like the dependency list needs to be updated for the latest version of .NET Core.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.