Releases: DrOverbuild/BootstrapHtmlHelpers
Releases · DrOverbuild/BootstrapHtmlHelpers
v0.0.22
- Adds a helper extension method
ModelStateDictionary.GetErrorMessagesthat builds a string array of validation error messages for a given model property.
v0.0.21
This release adds the htmlAttributes parameter to the CheckBoxFor method for building checkboxes.
Warning
This is a breaking change. If you add any HTML attributes to a checkbox's label, container, or validation and you are not using named parameters with CheckBoxFor, the attributes will be applied to the wrong HTML elements.
v0.0.20
This release adds the validationHtmlAttributes parameter to all form group helpers. This parameter adds HTML attributes to the accompanying invalid-feedback element that is rendered under the control.
v0.0.19
- Fix an issue where radio button groups break layout and invalid class if the model state is invalid.
- Fix an issue where original attribute dictionaries were updated instead of cloned.
v0.0.18
- Customize the text of the initial option with empty value on dropdowns for nullable enum properties.
- Adds radio button groups for enum properties. Along with Yes/No radio button groups, attributes can be added to the containing div for additional customization.
v0.0.17
Adds the overload for YesNoFor that accepts the non-nullable boolean property expression.
v0.0.16
Fixes an issue when a non-nullable boolean property expression was passed into BootstrapTagBuilder<TModel>.YesNoControlFor
v0.0.15
- Add core control methods to allow building form components without the labels, margins, validation, and other messages that are accompanied with form-group