Bot releases are hidden (Show)
Published by jbomhold3 about 5 years ago
PR #205
Published by jbomhold3 about 5 years ago
PR #204
Published by jbomhold3 about 5 years ago
@EMaderbacher
PR #200
@jbomhold3
PR #201
Published by jbomhold3 about 5 years ago
Removed InputValue from BSInput. This never should have been there and was causing confusion.
Published by jbomhold3 about 5 years ago
Adds Support in BSInput for nullable types. PR #189
Published by jbomhold3 about 5 years ago
Published by jbomhold3 about 5 years ago
Improved data binding is here!
Other fixes:
Big internal changes:
Example data binding:
<BSForm Model="@formsModel">
<BSFormGroup>
<BSLabel For="exampleInputEmail1">Email address</BSLabel>
<BSInput Id="exampleInputEmail1" InputType="InputType.Email" PlaceHolder="Enter email" @bind-Value="formsModel.Blank" />
<small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small>
</BSFormGroup>
<BSFormGroup>
<BSLabel For="exampleInputPassword1">Password</BSLabel>
<BSInput Id="exampleInputPassword1" InputType="InputType.Password" PlaceHolder="Password" @bind-Value="formsModel.Blank" />
</BSFormGroup>
<BSFormGroup IsCheck="true">
<BSInput Id="exampleCheck1" InputType="InputType.Checkbox" @bind-Value="formsModel.Blank" />
<BSLabel IsCheck="true" For="exampleCheck1">Check me out</BSLabel>
</BSFormGroup>
<BSButton Color="Color.Primary" ButtonType="ButtonType.Submit">Submit</BSButton>
</BSForm>
@code {
private FormsModel formsModel = new FormsModel();
public class FormsModel
{
public string Valid { get; set; }
[Required(AllowEmptyStrings = false, ErrorMessage = "Oh noes! that name is already taken")]
public string InValid { get; set; }
public string Blank { get; set; }
public string Email { get; set; } = "[email protected]";
}
}
Lots of changes in this release!
This is a big release!
First, I would like to thank @jbomhold3 for coming onboard as a project maintainer!
Next, we overhauled the docs site and it has a new home: https://blazorstrap.io/. It has a nice new design (gone is the default template look) and it uses the new themes switcher added in this release. So look for the Themes dropdown on the top nav and try it out! (Yes, the dark themes still need some CSS love)
Now for the changes:
NOTE: In a future release (likely 1.0.0-preview7-01) we will be changing over to use "BS" as a prefix to all components, so BlazorButton will become BSButton, Card will be BSCard, etc. This is obviously a breaking change and we are warning you now