mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	Fixed #22136 -- Updated comment for Textarea widget
Thanks Aymeric Augustin for the suggestion.
This commit is contained in:
		| @@ -401,7 +401,7 @@ class ClearableFileInput(FileInput): | ||||
|  | ||||
| class Textarea(Widget): | ||||
|     def __init__(self, attrs=None): | ||||
|         # The 'rows' and 'cols' attributes are required for HTML correctness. | ||||
|         # Use slightly better defaults than HTML's 20x2 box | ||||
|         default_attrs = {'cols': '40', 'rows': '10'} | ||||
|         if attrs: | ||||
|             default_attrs.update(attrs) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user