summaryrefslogtreecommitdiff
path: root/django/forms/widgets.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/forms/widgets.py')
-rw-r--r--django/forms/widgets.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/django/forms/widgets.py b/django/forms/widgets.py
index 71f2710a2b..96cb910273 100644
--- a/django/forms/widgets.py
+++ b/django/forms/widgets.py
@@ -481,6 +481,7 @@ class ClearableFileInput(FileInput):
"clear_checkbox_label": self.clear_checkbox_label,
}
)
+ context["widget"]["attrs"].setdefault("disabled", False)
return context
def value_from_datadict(self, data, files, name):