blazorbootstrap
blazorbootstrap copied to clipboard
FilterTextboxWidth is not always in px
Describe the bug In the documentation it says the FilterTextBoxWidth is always in px.
However, if the grid as vh as unit type, the textbox width is also measured as vh
To Reproduce Steps to reproduce the behavior: Create a grid with unit type Vh
<Grid @ref="grid"
Unit="Unit.Vh"
Height="80"
Add FilterTextBoxWidth="50" to a Column.
The resulting HTML:
<input class="form-control" style="width:50vh;" type="number">
Expected behavior FilterTextBoxWidth is always in PX as the documentation describes
Screenshots
Versions (please complete the following information):
- .NET Version: .NET 8
- BlazorBootstrap: 3.0
- Blazor WebAssembly / Server: [e.g. WebAssembly, Server]
- Blazor Interactive Render Mode: [e.g. Auto, Server, WebAssembly, None]
- Blazor Interactivity Location: [e.g. Global, Per page/component]