1
[['shortcode'],'string', 'length' => [8, 11]],// first
['shortcode','required', // second
'when' => function($model) {
// code here
},
],
이 난 단지 내 규칙 length
을 결합 수있는 방법 규칙? 미리 감사드립니다.설정 길이 내가 <code>required</code>로 설정하면
현재로서는 항상 최소 길이를 확인하는 중입니다.