Make ImageField widget render with accept="image/*"' HTML attribute
Reported by: |
safu9 |
Owned by: |
Tim Graham <timograham@…> |
Component:
|
Forms
|
Version:
|
2.0
|
Severity:
|
Normal
|
Keywords:
|
|
Cc:
|
|
Triage Stage:
|
Accepted
|
Has patch:
|
yes
|
Needs documentation:
|
yes
|
Needs tests:
|
no
|
Patch needs improvement:
|
no
|
Easy pickings:
|
no
|
UI/UX:
|
yes
|
I think ImageField widget need ' accept="image/*" ' attribute as default. In some devices such as iPhone, input form doesn't work without this attribute.
This is pr for this ticket: https://github.com/django/django/pull/9850
Change History
(7)
Description: |
modified (diff)
|
Has patch: |
set
|
Owner: |
changed from nobody to Junji Wei
|
Status: |
new → assigned
|
Owner: |
Junji Wei removed
|
Status: |
assigned → new
|
Needs documentation: |
set
|
Needs tests: |
set
|
Triage Stage: |
Unreviewed → Accepted
|
Type: |
Bug → Cleanup/optimization
|
Owner: |
set to Tim Graham <timograham@…>
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
Summary: |
ImageField widget need 'accept' attribute → Make ImageField widget render with accept="image/*"' HTML attribute
|
I'm unsure about documentation or release note needs.