The inputField parameter in the FlottformFileInputHost should be optional. If no value is provided, the default behavior should allow a FileList to be sent, letting the developer handle it as needed. This change will provide more flexibility and ease for developers who don't need to specify an inputField but still want to handle file uploads (f.ex. image galery).
Links / References
\
Tasks / Definition of Done
[ ] Update the FlottformFileInputHost to make the inputField parameter optional.
[ ] Implement logic to send a FileList when no inputField is provided, allowing developers to manage file handling themselves
Further information
Consider if any additional error handling might be needed when developers choose to manage FileList on their own.
Description
The
inputField
parameter in theFlottformFileInputHost
should be optional. If no value is provided, the default behavior should allow a FileList to be sent, letting the developer handle it as needed. This change will provide more flexibility and ease for developers who don't need to specify aninputField
but still want to handle file uploads (f.ex. image galery).Links / References
\
Tasks / Definition of Done
FlottformFileInputHost
to make theinputField
parameter optional.FileList
when noinputField
is provided, allowing developers to manage file handling themselvesFurther information
Consider if any additional error handling might be needed when developers choose to manage FileList on their own.