mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-01 03:26:36 +08:00 
			
		
		
		
	 Michael Härtl
					Michael Härtl
				
			
				
					committed by
					
						 Alexander Makarov
						Alexander Makarov
					
				
			
			
				
	
			
			
			 Alexander Makarov
						Alexander Makarov
					
				
			
						parent
						
							0fcd495583
						
					
				
				
					commit
					e6d7881bbe
				
			| @ -6,6 +6,7 @@ Yii Framework 2 Change Log | ||||
|  | ||||
| - Enh #17382: Added `\yii\validators\DateValidator::$strictDateFormat` to enable strict validation (alexkart) | ||||
| - Bug #16394: Fixed issues in `migrate/create` when specifying default values with colons and adding multiple columns (alexkart) | ||||
| - Bug #17341: Re-added fix for error from yii.activeForm.js in strict mode (mikehaertl) | ||||
|  | ||||
|  | ||||
| 2.0.21 June 18, 2019 | ||||
|  | ||||
| @ -705,10 +705,10 @@ | ||||
|             return false; | ||||
|         } | ||||
|  | ||||
|         var errorAttributes = []; | ||||
|         var $input = findInput($form, this); | ||||
|         var errorAttributes = [], $input; | ||||
|         $.each(data.attributes, function () { | ||||
|             var hasError = (submitting && updateInput($form, this, messages)) || (!submitting && attrHasError($form, this, messages)); | ||||
|             $input = findInput($form, this); | ||||
|  | ||||
|             if (!$input.is(":disabled") && !this.cancelled && hasError) { | ||||
|                 errorAttributes.push(this); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user