3K Star 7.6K Fork 3.2K

GVPdotNET China / Furion

 / 详情

模型验证时,反馈给页面的结果应去除验证通过的字段

Done
member
Opened this issue  
2021-03-24 13:48

Furion 版本号

16.0


Web 项目类型

  • WebApi
  • Mvc
  • Razor Pages
  • Blazor Server

描述你的问题

模型验证时,反馈给页面的错误信息中包含了所有表单提交的字段信息.
此时应只返回ValidateState验证失败的字段信息.
输入图片说明


代码或代码仓库

在model中标记验证属性时均会发生


期待结果

只返回ValidateState验证失败的字段信息.


Comments (1)

Proud_Cat created任务
Proud_Cat set assignee to 百小僧
Proud_Cat set related repository to dotNET China/Furion
Proud_Cat changed description
Expand operation logs

已经提交代码,拉取最新的重新测试看看。

百小僧 changed issue state from 待办的 to 进行中
百小僧 added
 
漏洞
label
百小僧 added
 
优先
label
百小僧 set milestone to Furion 2021
百小僧 set branch to master
百小僧 set deadline to 2021-03-24
百小僧 set start time to 2021-03-24
百小僧 set top level to High
百小僧 set priority to Serious
百小僧 through dotnetchina/Furion Commit c76a81a changed issue state from 进行中 to 已完成
百小僧 changed top level from High to Not top

Sign in to comment

Status
Assignees
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
参与者(2)
974299 monksoul 1578937227 7985226 proud cat 1616052121
C#
1
https://gitee.com/dotnetchina/Furion.git
git@gitee.com:dotnetchina/Furion.git
dotnetchina
Furion
Furion

Search