summaryrefslogtreecommitdiff
path: root/docs/ref/forms/widgets.txt
diff options
context:
space:
mode:
authorarjunomray <arjunomray@gmail.com>2024-07-26 07:39:19 +0200
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2024-08-02 09:51:49 +0200
commit946c3cf7342cc40c2d8e3d865c96a4ec990f76f4 (patch)
treef1fab0e3223cf1c4c286f784b3365f0b0bc7c70b /docs/ref/forms/widgets.txt
parent54e8b4e5825eadf94ad715459f3aa60df389c8d4 (diff)
Fixed #35599 -- Added ColorInput widget.
Diffstat (limited to 'docs/ref/forms/widgets.txt')
-rw-r--r--docs/ref/forms/widgets.txt11
1 files changed, 11 insertions, 0 deletions
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: ``<input type="url" ...>``
+``ColorInput``
+~~~~~~~~~~~~~~
+
+.. versionadded:: 5.2
+
+.. class:: ColorInput
+
+ * ``input_type``: ``'color'``
+ * ``template_name``:``'django/forms/widgets/color.html'``
+ * Renders as: ``<input type='color' ...>``
+
``SearchInput``
~~~~~~~~~~~~~~~