mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-10-31 10:39:59 +08:00 
			
		
		
		
	Fix #18323: Fix client validation of RadioList when there are disabled items
This commit is contained in:
		| @ -329,7 +329,8 @@ | ||||
|                 this.$form = $form; | ||||
|                 var $input = findInput($form, this); | ||||
|  | ||||
|                 if ($input.is(':disabled')) { | ||||
|                 var disabled = $input.toArray().reduce((result, next) => result && $(next).is(':disabled'), true); | ||||
|                 if (disabled) { | ||||
|                     return true; | ||||
|                 } | ||||
|                 // validate markup for select input | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Toir Tuychiev
					Toir Tuychiev