blazorbootstrap icon indicating copy to clipboard operation
blazorbootstrap copied to clipboard

FilterTextboxWidth is not always in px

Open negberts opened this issue 1 year ago • 0 comments

Describe the bug In the documentation it says the FilterTextBoxWidth is always in px.

image

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 image

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]

negberts avatar Sep 16 '24 11:09 negberts