Closed (fixed)
Project:
SWFUpload
Version:
6.x-2.0-beta7
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Jul 2010 at 22:35 UTC
Updated:
16 Dec 2010 at 15:50 UTC
If we use a textarea, we'll have to deal with newlines. The widget already has issues with newlines since it only shows the first line and does not stop editing upon carriage return as do the other text fields (alt, title).
Also, FileField uses a textfield for the description, so we probably want to use the same.
| Comment | File | Size | Author |
|---|---|---|---|
| swfupload-description-textfield.patch | 638 bytes | David Lesieur |
Comments
Comment #1
eugenmayer commentedsounds like a reason. the question in place is, should we support multiline rather or go back to a textfield like this patch supposes?
Comment #2
David Lesieur commentedIt would be more consistent with FileField to NOT support multiline.
Comment #3
nicostabile commentedI think that a description is larger than a title for example, so multiline is necessary. You are right about that filefield not support multiline but in my opinion is a mistake because a description in most of systems needs a multiline support.
Thanks for this module, is excellent.
Best Regards,
Nicolás.
Comment #4
David Lesieur commentedI agree that multiline descriptions would be useful. However, I think we should strive for compatibility with FileField. If we want multiline descriptions, we need to change FileField first.
The core upload module is also limited to one-line descriptions.
Comment #5
David Lesieur commentedPatch still applies cleanly to beta7.
Comment #6
skilip commentedSounds reasonable to me as well. We'll port this in the next release
Comment #7
skilip commented