From 946c3cf7342cc40c2d8e3d865c96a4ec990f76f4 Mon Sep 17 00:00:00 2001 From: arjunomray Date: Fri, 26 Jul 2024 07:39:19 +0200 Subject: Fixed #35599 -- Added ColorInput widget. --- docs/ref/forms/widgets.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'docs/ref/forms') diff --git a/docs/ref/forms/widgets.txt b/docs/ref/forms/widgets.txt index 1a868c32fa..bd970f1517 100644 --- a/docs/ref/forms/widgets.txt +++ b/docs/ref/forms/widgets.txt @@ -558,6 +558,17 @@ These widgets make use of the HTML elements ``input`` and ``textarea``. * ``template_name``: ``'django/forms/widgets/url.html'`` * Renders as: ```` +``ColorInput`` +~~~~~~~~~~~~~~ + +.. versionadded:: 5.2 + +.. class:: ColorInput + + * ``input_type``: ``'color'`` + * ``template_name``:``'django/forms/widgets/color.html'`` + * Renders as: ```` + ``SearchInput`` ~~~~~~~~~~~~~~~ -- cgit v1.3