Open fyeeme opened 6 years ago
遇到同样的问题
Would it be possible for the validator to attempt to convert a string to Date before doing the date validate?
I have encountered the same problem
{
required: true, type: 'array', trigger: 'change',
fields: {
0: {type: 'date', required: true, message: 'Please select the date'},
1: {type: 'date', required: true, message: 'Please select the date'}
},
}
set datepicker type as daterange
then use this validate it , it occors an error as below:![image](https://user-images.githubusercontent.com/6078758/33535377-2d24ad24-d8e8-11e7-9ae7-65b763e0ce1e.png)
error is here ,cause it return array and not a empty string or date , how to solve it?