Problem/Motivation
In D8's core/modules/file/src/Plugin/Field/FieldType/FileItem.php
and D7's modules/file/file.field.inc
uses textfield
's default '#maxlength' => 128
. On Drupal.org, we want more than that, #1246118: Allow uploading of videos (screencasts) to d.o.
Before screenshot
Proposed resolution
Increase the file field widget allowed extensions setting input to 256.
After screenshot
Remaining tasks
Task | Novice task? | Contributor instructions | Complete? |
---|---|---|---|
Add automated tests | Yes | Instructions | |
Manually test the patch | Novice | Instructions | |
Embed before and after screenshots in the issue summary | Novice | Instructions | |
Review patch to ensure that it fixes the issue, stays within scope, is properly documented, and follows coding standards | Instructions |
User interface changes
API changes
Original report by @drumm
In D8's core/modules/file/src/Plugin/Field/FieldType/FileItem.php
and D7's modules/file/file.field.inc
uses textfield
's default '#maxlength' => 128
. On Drupal.org, we want more than that, #1246118: Allow uploading of videos (screencasts) to d.o.