Skip to content

bug(): EditorForm 的 Required 属性工作不正常 #7882

@pkmxiao

Description

@pkmxiao

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Image 我在 ValidateForm 内用 EditorForm 的 Items 属性构建表单,手动更改字段的 Required 属性后, * 的反馈正常,但字段的 Required 属性一旦设为 true ,就再也无法切换到 false

Expected Behavior

能正常设定 Required 属性,当为 true 时,验证该字段,false 时,放弃验证该字段。

Interactive render mode

Interactive Server (Interactive server-side rendering (interactive SSR) using Blazor Server)

Steps To Reproduce

BBFeedBack.zip

Exceptions (if any)

No response

.NET Version

NET9.0

Anything else?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions