element validator message bug

shyt4zoc  于 2022-11-13  发布在  其他
关注(0)|答案(4)|浏览(151)

https://github.com/yiminghe/async-validator#messages

Reference

login: [{
          required: true,
          message: () => this.$i18n.t('login is required'),
          trigger: ['blur', 'change'],
        }],

not worked. i'm got this result:

tnx

Originally posted by @newbie78 in #14951 (comment)

yqyhoc1h

yqyhoc1h1#

can someone help me?

sqougxex

sqougxex2#

message function is available as of async-validator@^1.11.1

wkyowqbh

wkyowqbh3#

but in now(Element 1.13.2), it's still use async-validator@~1.8.1

wqnecbli

wqnecbli4#

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

相关问题