Skip to content

FilterTextboxWidth is not always in px #879

@negberts

Description

@negberts

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]

Metadata

Metadata

Assignees

No one assigned
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions