Cakephp 4.x Conditional $rules->isUnique(['email'] only works on add, not udate operations in buildRules

后端 未结 0 1485
鱼传尺愫
鱼传尺愫 2020-12-10 07:24

Trying to implement conditional validation logic thru buildRules. Logic works on add, but not on update operations. I have verified that the rule returns true on update an

相关标签:
回答
  • 消灭零回复
提交回复
热议问题