- Added the multiple value selection
This commit is contained in:
		
							parent
							
								
									1f5d38a8b9
								
							
						
					
					
						commit
						bd501bce86
					
				| @ -79,6 +79,11 @@ class UiSelect extends UiElement implements Extension { | ||||
|      | ||||
|     protected function isSelected($check, $value, bool $strict = true) : bool | ||||
|     {         | ||||
|         if ( is_array($value) ) { | ||||
|             return in_array($check, $value, $strict); | ||||
|         } | ||||
| 
 | ||||
| 
 | ||||
|         return $strict ? $check === $value : $check == $value; | ||||
|     } | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user