Closed (fixed)
Project:
Webform
Version:
7.x-4.0-beta3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Apr 2014 at 19:53 UTC
Updated:
6 May 2014 at 07:20 UTC
Jump to comment: Most recent
The $filter argument in _webform_render_file() and other _webform_render_* callbacks is used by Form Builder to generate a raw editable version of the element. Right now we're adding the file upload help all the time, making it so if you edit a file component with Form Builder, you end up editing the file upload help. Every time you edit, more help gets appended to the description. This description should not be part of the editable configuration, so it should be skipped when $filter === FALSE.
| Comment | File | Size | Author |
|---|---|---|---|
| webform_file_component_filter.patch | 821 bytes | quicksketch |
Comments
Comment #2
quicksketchPushed to 7.x-4.x.
Comment #4
fenstratNeeds porting to 8.x-4.x.
Comment #5
fenstratCommitted and pushed 6ff7a78 to 8.x-4.x. Thanks!