-
-
Notifications
You must be signed in to change notification settings - Fork 683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When select multiple I think the return always has to be an array #292
Comments
This is an issue that I have also ran into and would like to see the prescribed fix implemented. |
Requirements for this feature:
|
I propose: Make the multiple always return arrays for both fields and files. It does not need a new flag and is backwards compatible as application using multiples: true should already have an if else for arrays or objects. I can make a new PR. Also #315 (review) |
@GrosSacASac It’s not backwards-compatible: |
I think we are going to release v2 directly, so it's okay. What about if we separate it to |
|
When I select multiple, in your module I read in your code that when you select one item the return is the file and if the length > 1 return an array, this forces the user to always verify.
It's simplier if the user select multiple, return always an array.
I did this, if you agree I can do the Pull Request.
The text was updated successfully, but these errors were encountered: