1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #35599 -- Added ColorInput widget.

This commit is contained in:
arjunomray
2024-07-26 07:39:19 +02:00
committed by Sarah Boyce
parent 54e8b4e582
commit 946c3cf734
7 changed files with 39 additions and 0 deletions

View File

@@ -166,6 +166,10 @@ File Uploads
Forms
~~~~~
* The new :class:`~django.forms.ColorInput` form widget is for entering a color
in ``rrggbb`` hexadecimal format and renders as ``<input type='color' ...>``.
Some browsers support a visual color picker interface for this input type.
* The new :class:`~django.forms.SearchInput` form widget is for entering search
queries and renders as ``<input type="search" ...>``.