Isomorphic,
We are using smartgwt-pro 5.0-p20141210.
Our browser is Firefox 24.0
I have a DynamicForm with an UploadItem where depending on case I need to allow multiple file upload or single file upload.
Then on the same DynamicForm (We use the same DynamicForm, we don't perform new DynamicForm each time), i will call several times and in different order :
- uploadItem.setMultiple(true)
- uploadItem.setMultiple(false)
The behaviour i have :
- setMultiple(false)
- click on "Browse" -> I can only select one file in file chooser
- setMultiple(true)
- click on "Browse" -> I can select several files in file chooser
- setMultiple(false)
- click on "Browse" -> I can select several files in file chooser
In my tests, i see that once i have performed a setMultiple(true), i can not go back to single file selection in file chooser.
I have performed my tests in Firefox 24.0 and Firefox 38.0 and the behaviour is the same.
Can you tell me please if it's an UploadItem's component bug, a Browser bug or if it's probably a problem in my code ?
Thanks by advance.
David.
We are using smartgwt-pro 5.0-p20141210.
Our browser is Firefox 24.0
I have a DynamicForm with an UploadItem where depending on case I need to allow multiple file upload or single file upload.
Then on the same DynamicForm (We use the same DynamicForm, we don't perform new DynamicForm each time), i will call several times and in different order :
- uploadItem.setMultiple(true)
- uploadItem.setMultiple(false)
The behaviour i have :
- setMultiple(false)
- click on "Browse" -> I can only select one file in file chooser
- setMultiple(true)
- click on "Browse" -> I can select several files in file chooser
- setMultiple(false)
- click on "Browse" -> I can select several files in file chooser
In my tests, i see that once i have performed a setMultiple(true), i can not go back to single file selection in file chooser.
I have performed my tests in Firefox 24.0 and Firefox 38.0 and the behaviour is the same.
Can you tell me please if it's an UploadItem's component bug, a Browser bug or if it's probably a problem in my code ?
Thanks by advance.
David.
Comment