User tests: Successful: Unsuccessful:
Pull Request for Issue #14899 .
This replaces conflicting filter
attribute in Joomla\CMS\Form\Field\FilelistField
and Joomla\CMS\Form\Field\FolderlistField
with new fileFilter
and folderFilter
attributes, respectively.
Code review is fine, I guess. Or add filelist/folderlist field to a form, set fileFilter/folderFilter attribute and check that files/folders are filtered correctly. E.g.:
<field
name="image"
type="filelist"
fileFilter="\.png$"
directory="images/banners"
/>
Yes. B/C break: existing forms using affected fields need to be updated with new attributes. Fields extending these fields need to be updated.
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_languages Libraries Front End Plugins |
I have tested this item
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
?
?
|
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-05-27 22:29:49 |
Closed_By | ⇒ | wilsonge | |
Labels |
Added:
?
|
Thanks!
I have tested this item✅ successfully on e0ce991
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/24977.