Skip to content

Blazor form validation should allow custom validation state [class] attributes: #8695

@kennywangjin

Description

@kennywangjin

Is your feature request related to a problem? Please describe.

I'm using bootstrap to style blazor components. While [class] attributes for validation state are all hard coded. e.g. [modified],[valid],[invalid]. I have to manually map bootstrap validation state styles to these [class]es.

Describe the solution you'd like

I would be great if we could customize these state [class]es.

Describe alternatives you've considered

We could add static read-write fields in [EditorContext] for state classes and allow users to customize these fields in App [Startup] or anywhere people want.

Metadata

Metadata

Labels

DoneThis issue has been fixedarea-blazorIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing one

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions