Skip to content

未兼容,e === false,导致其他基于 validate 封装的上层库校验功能失败 #19

Open
@woshilaoge

Description

@woshilaoge

image

如上图

当 e === false 时,且 rule.message 有值时,按照之前的代码,有提示信息 rule.message,但是现在调整后的,不会有提示。表现为,之前设置 e 为 false 则不生效了。

image
乐高 form-helper 这块如上图的设计,就导致了,大部分用户是这么去使用的 return false,本次 1.2.2 的版本,就会让之前的设置不生效。

目前乐高上陆续有收到多个用户反馈,之前设置的 校验规则,不生效了。期望尽快兼容~

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions