Sorry for the delay on this. The new attribute, FileItem.capture, has been added to support this functionality. It will be available in tomorrow's builds, starting on September 8th.
Take a look at the documentation of the new attribute in order to know how to use it with FileItems and UploadItems.
Best Regards.
Isomorphic Software
Announcement
Collapse
No announcement yet.
X
-
Originally posted by Isomorphic View PostWe're looking into adding a setting to do this, but right now it would take an unsupported DOM-level hack to add the attribute.
Leave a comment:
-
Thank you very much.
In the meantime I'll help myself with javascript via JSNI and add the attribute to the generated FileItem.
I'm looking forward to a direct implementation in SmartGwt.
Regards
John
Leave a comment:
-
We're looking into adding a setting to do this, but right now it would take an unsupported DOM-level hack to add the attribute.
Regards
Isomorphic Software
Leave a comment:
-
How to add capture attribute to FileItem
Hi,
how can I add the attribute "capture" to a FileItem?
<input type="FILE" ... class="uploadItem" multiple capture>
Is this possible, maybe with a workaround?
I would like to open the camera instantly on mobile devices.
Any hints are appreciated.
Regards
JohnLast edited by JohnH; 24 May 2023, 03:47.Tags: None
Leave a comment: