Skip to content

[Bug]: Enter on filter field submits form #5790

@tacoWanneeJama

Description

@tacoWanneeJama

Blazorise Version

latest

What Blazorise provider are you running on?

None

Link to minimal reproduction or a simple code snippet

When you use the [Enter] key in a search field of a DataGrid, the whole webpage is submitted and refreshed.
This only happens hen only 1 seachfield is present in the grid. When more textual searchfield are present(even hidden) this unwanted behavior is not present.

Steps to reproduce

See example: https://github.com/tacoWanneeJama/BlazorAppGridFilter/settings

What is expected?

The webpage should off course be submitted from a Blazor page.

What is actually happening?

Page refresh

What browsers do you see the problem on?

Chrome

Any additional comments?

As workaround I now add an invisible text-field.

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

✔ Done

Relationships

None yet

Development

No branches or pull requests

Issue actions