You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is the field type AttachmentFieldType, that is the only way to use file input elements in the SuluFormBundle because of the processing of uploaded files is tied to the field type name "attachment" (see
Like in my other issue (#397) a possible solution could be the use of the FormFieldTypeConfiguration group, because it seems to be not used anywhere at the time.
The text was updated successfully, but these errors were encountered:
Actual Behavior
There is the field type AttachmentFieldType, that is the only way to use file input elements in the SuluFormBundle because of the processing of uploaded files is tied to the field type name "attachment" (see
SuluFormBundle/Entity/Dynamic.php
Line 21 in 12d2df1
AttachmentFieldType has the possiblity to restrict uploads to image, video and audio file types, but no other file type restrictions.
Expected Behavior
Steps to Reproduce
Is an current try to extend the AttachmentFieldType for using custom file type restriction, e.g.:
I saw the only way in using service decoration or compiler pass.
Possible Solutions
Like in my other issue (#397) a possible solution could be the use of the FormFieldTypeConfiguration group, because it seems to be not used anywhere at the time.
The text was updated successfully, but these errors were encountered: