[Django] #35601: Add TelInput widget

13 views
Skip to first unread message

Django

unread,
Jul 15, 2024, 11:45:07 AM7/15/24
to django-...@googlegroups.com
#35601: Add TelInput widget
-------------------------------------+-------------------------------------
Reporter: Jeremy | Owner: Jeremy Thompson
Thompson |
Type: New | Status: assigned
feature |
Component: Forms | Version:
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 1 |
-------------------------------------+-------------------------------------
[https://forum.djangoproject.com/t/adding-searchinput-widget/32496
Relevant forum discussion]

Add a {{{ TelInput }}} widget that would render as

{{{
<input type="tel" ...>
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/35601>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jul 15, 2024, 11:49:23 AM7/15/24
to django-...@googlegroups.com
#35601: Add TelInput widget
---------------------------------+--------------------------------------
Reporter: Jeremy Thompson | Owner: (none)
Type: New feature | Status: new
Component: Forms | Version:
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
---------------------------------+--------------------------------------
Changes (by Jeremy Thompson):

* owner: Jeremy Thompson => (none)
* status: assigned => new

--
Ticket URL: <https://code.djangoproject.com/ticket/35601#comment:1>

Django

unread,
Jul 18, 2024, 4:27:06 PM7/18/24
to django-...@googlegroups.com
#35601: Add TelInput widget
---------------------------------+------------------------------------
Reporter: Jeremy Thompson | Owner: (none)
Type: New feature | Status: new
Component: Forms | Version:
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
---------------------------------+------------------------------------
Changes (by Natalia Bidart):

* stage: Unreviewed => Accepted

Comment:

Accepting following the forum conversation, highlighting this fragment
from [https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/tel
the MDN docs] about its relevancy for small screens and overall
accessibility:

> Despite the fact that inputs of type tel are functionally identical to
standard text inputs, they do serve useful purposes; the most quickly
apparent of these is that mobile browsers — especially on mobile phones —
may opt to present a custom keypad optimized for entering phone numbers.
Using a specific input type for telephone numbers also makes adding custom
validation and handling of phone numbers more convenient.
--
Ticket URL: <https://code.djangoproject.com/ticket/35601#comment:2>

Django

unread,
Jul 18, 2024, 6:41:18 PM7/18/24
to django-...@googlegroups.com
#35601: Add TelInput widget
---------------------------------+-----------------------------------------
Reporter: Jeremy Thompson | Owner: LucasEsposito
Type: New feature | Status: assigned
Component: Forms | Version:
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
---------------------------------+-----------------------------------------
Changes (by LucasEsposito):

* owner: (none) => LucasEsposito
* status: new => assigned

--
Ticket URL: <https://code.djangoproject.com/ticket/35601#comment:3>

Django

unread,
Jul 19, 2024, 5:06:28 AM7/19/24
to django-...@googlegroups.com
#35601: Add TelInput widget
-------------------------------------+-------------------------------------
Reporter: Jeremy Thompson | Owner: Lucas
| Esposito
Type: New feature | Status: assigned
Component: Forms | Version:
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Lucas Esposito):

* has_patch: 0 => 1

Comment:

A PR is ready for review: https://github.com/django/django/pull/18390
--
Ticket URL: <https://code.djangoproject.com/ticket/35601#comment:4>

Django

unread,
Jul 31, 2024, 4:53:35 AM7/31/24
to django-...@googlegroups.com
#35601: Add TelInput widget
-------------------------------------+-------------------------------------
Reporter: Jeremy Thompson | Owner: Lucas
| Esposito
Type: New feature | Status: assigned
Component: Forms | Version:
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):

* needs_better_patch: 0 => 1

--
Ticket URL: <https://code.djangoproject.com/ticket/35601#comment:5>

Django

unread,
Aug 2, 2024, 3:06:40 AM8/2/24
to django-...@googlegroups.com
#35601: Add TelInput widget
-------------------------------------+-------------------------------------
Reporter: Jeremy Thompson | Owner: Lucas
| Esposito
Type: New feature | Status: assigned
Component: Forms | Version:
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):

* needs_better_patch: 1 => 0
* stage: Accepted => Ready for checkin

--
Ticket URL: <https://code.djangoproject.com/ticket/35601#comment:6>

Django

unread,
Aug 2, 2024, 5:32:03 AM8/2/24
to django-...@googlegroups.com
#35601: Add TelInput widget
-------------------------------------+-------------------------------------
Reporter: Jeremy Thompson | Owner: Lucas
| Esposito
Type: New feature | Status: closed
Component: Forms | Version:
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce <42296566+sarahboyce@…>):

* resolution: => fixed
* status: assigned => closed

Comment:

In [changeset:"b478cae00643d6730746f2614792b35a7d3187ff" b478cae]:
{{{#!CommitTicketReference repository=""
revision="b478cae00643d6730746f2614792b35a7d3187ff"
Fixed #35601 -- Added TelInput widget.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/35601#comment:7>

Django

unread,
Aug 2, 2024, 4:41:02 PM8/2/24
to django-...@googlegroups.com
#35601: Add TelInput widget
-------------------------------------+-------------------------------------
Reporter: Jeremy Thompson | Owner: Lucas
| Esposito
Type: New feature | Status: closed
Component: Forms | Version:
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------
Comment (by GitHub <noreply@…>):

In [changeset:"6d3464cff0c3e9cd624cf7cdc04d7427dc542d2f" 6d3464cf]:
{{{#!CommitTicketReference repository=""
revision="6d3464cff0c3e9cd624cf7cdc04d7427dc542d2f"
Refs #35601, Refs #35599 -- Made cosmetic edits to TelInput/ColorInput
docs.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/35601#comment:8>
Reply all
Reply to author
Forward
0 new messages