Skip to content

Commit

Permalink
Fix checkbox columns non proper rendered in CRUD with Boostrap 5.x (g…
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavnavar committed Nov 20, 2021
1 parent 0c32836 commit 6079e73
Show file tree
Hide file tree
Showing 8 changed files with 189 additions and 189 deletions.
354 changes: 177 additions & 177 deletions GridBlazor/Pages/GridCreateComponent.razor

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions GridBlazor/Pages/GridDeleteComponent.razor
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
}
else
{
<input id="@column.FieldName" type="checkbox" class="form-control" disabled="disabled" readonly="readonly" checked="checked" value="true" />
<input id="@column.FieldName" type="checkbox" class="form-check" disabled="disabled" readonly="readonly" checked="checked" value="true" />
}
}
else
Expand All @@ -78,7 +78,7 @@
}
else
{
<input id="@column.FieldName" type="checkbox" class="form-control" disabled="disabled" readonly="readonly" value="false" />
<input id="@column.FieldName" type="checkbox" class="form-check" disabled="disabled" readonly="readonly" value="false" />
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions GridBlazor/Pages/GridReadComponent.razor
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
}
else
{
<input id="@column.FieldName" type="checkbox" class="form-control" disabled="disabled" readonly="readonly" checked="checked" value="true" />
<input id="@column.FieldName" type="checkbox" class="form-check" disabled="disabled" readonly="readonly" checked="checked" value="true" />
}
}
else
Expand All @@ -77,7 +77,7 @@
}
else
{
<input id="@column.FieldName" type="checkbox" class="form-control" disabled="disabled" readonly="readonly" value="false" />
<input id="@column.FieldName" type="checkbox" class="form-check" disabled="disabled" readonly="readonly" value="false" />
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions GridBlazor/Pages/GridUpdateComponent.razor
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
}
else
{
<input id="@column.FieldName" name="@column.FieldName" type="checkbox" class="form-control" disabled="disabled" readonly="readonly" checked="checked" value="true" />
<input id="@column.FieldName" name="@column.FieldName" type="checkbox" class="form-check" disabled="disabled" readonly="readonly" checked="checked" value="true" />
}
}
else
Expand All @@ -139,7 +139,7 @@
}
else
{
<input id="@column.FieldName" name="@column.FieldName" type="checkbox" class="form-control" disabled="disabled" readonly="readonly" value="false" />
<input id="@column.FieldName" name="@column.FieldName" type="checkbox" class="form-check" disabled="disabled" readonly="readonly" value="false" />
}
}
}
Expand Down Expand Up @@ -254,7 +254,7 @@
}
else
{
<input id="@column.FieldName" name="@column.FieldName" type="checkbox" class="form-control @(ColumnErrors.ContainsKey(@column.FieldName) ? "input-validation-error" : "")" checked="checked" value="true" @onchange="(e) => ChangeValue(e, column)" />
<input id="@column.FieldName" name="@column.FieldName" type="checkbox" class="form-check @(ColumnErrors.ContainsKey(@column.FieldName) ? "input-validation-error" : "")" checked="checked" value="true" @onchange="(e) => ChangeValue(e, column)" />
}
}
else
Expand All @@ -270,7 +270,7 @@
}
else
{
<input id="@column.FieldName" name="@column.FieldName" type="checkbox" class="form-control @(ColumnErrors.ContainsKey(@column.FieldName) ? "input-validation-error" : "")" value="false" @onchange="(e) => ChangeValue(e, column)" />
<input id="@column.FieldName" name="@column.FieldName" type="checkbox" class="form-check @(ColumnErrors.ContainsKey(@column.FieldName) ? "input-validation-error" : "")" value="false" @onchange="(e) => ChangeValue(e, column)" />
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion GridBlazor/wwwroot/css/gridblazor.css
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ div[dir="rtl"] .subgrid-caret-down::after { content: "\25E3"; }
.grid-buttons { display:inline-flex; width:100%; justify-content:space-between; }

/* Grid header buttons */
.grid-header-buttons { display:inline-flex; width:100%; }
.grid-header-buttons { display:inline-flex; }

/* Grid search */
.grid-search { margin-top: 10px; margin-bottom: 10px; }
Expand Down
2 changes: 1 addition & 1 deletion GridBlazor/wwwroot/css/gridblazor.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion GridMvc/Resources/css/gridmvc.css
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ div[dir="rtl"] .subgrid-caret-down::after { content: "\25E3"; }
.grid-buttons { display:inline-flex; width:100%; justify-content:space-between; }

/* Grid header buttons */
.grid-header-buttons { display:inline-flex; width:100%; }
.grid-header-buttons { display:inline-flex; }

/* Grid search */
.grid-search { margin-top: 10px; margin-bottom: 10px; }
Expand Down
2 changes: 1 addition & 1 deletion GridMvc/Resources/css/gridmvc.min.css

Large diffs are not rendered by default.

0 comments on commit 6079e73

Please sign in to comment.